mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
Fixup for SA timers
This commit is contained in:
parent
6c30863136
commit
8901d95359
1 changed files with 0 additions and 2 deletions
|
@ -2079,8 +2079,6 @@ DarkVehiclesFix4_MakeItDark:
|
||||||
|
|
||||||
static int _Timers_ftol_internal( double timer, double& remainder )
|
static int _Timers_ftol_internal( double timer, double& remainder )
|
||||||
{
|
{
|
||||||
if ( timer >= 1.0 ) return int(timer);
|
|
||||||
|
|
||||||
double integral;
|
double integral;
|
||||||
remainder = modf( timer + remainder, &integral );
|
remainder = modf( timer + remainder, &integral );
|
||||||
return int(integral);
|
return int(integral);
|
||||||
|
|
Loading…
Reference in a new issue