use floats for calculating ticratescaled

this does not need to be double lel
This commit is contained in:
Alug committed 2025-10-02 16:21:12 +02:00
1 parent 20c570c97c
commit 92525ce697
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,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();