use floats for calculating ticratescaled
this does not need to be double lel
This commit is contained in:
1 parent
79b65af251
commit
b83cceaa68
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user