use floats for calculating ticratescaled

this does not need to be double lel
This commit is contained in:
Alug committed 2025-10-02 16:20:59 +02:00
1 parent 79b65af251
commit b83cceaa68
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ void I_UpdateTime(fixed_t timescale)
tic_t realtics;
// get real tics
ticratescaled = (double)TICRATE * FixedToDouble(timescale);
ticratescaled = (double)((float)TICRATE * FixedToFloat(timescale));
enterprecise = I_GetPreciseTime();
elapsedseconds = (double)(enterprecise - oldenterprecise) / I_GetPrecisePrecision();