Merge branch 'driftgauge' of ssh://github.com/Indev450/SRB2Kart-Saturn into driftgauge

This commit is contained in:
indev committed 2024-02-24 21:20:15 +03:00
commit 51c888a3fb
1 file changed
+4
+4
View File
@@ -9286,6 +9286,10 @@ static void K_drawDriftGauge(void)
return;
K_GetScreenCoords(&pos, stplyr, camera, stplyr->mo->x, stplyr->mo->y, stplyr->mo->z+FixedMul(cv_driftgaugeofs.value, cv_driftgaugeofs.value > 0 ? stplyr->mo->scale : mapobjectscale));
//Check for negative screencoords
if (pos.x == -1 || pos.y == -1)
return;
//Flipcam on
if (stplyr->mo->eflags & MFE_VERTICALFLIP && (stplyr->pflags & PF_FLIPCAM))