1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 09:10:01 +00:00

fixed script bug

This commit is contained in:
Nikolay Korolev 2020-05-19 23:49:28 +03:00 committed by GitHub
parent 50f0c7a1dc
commit 1b96e6c378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2998,9 +2998,9 @@ int8 CRunningScript::ProcessCommands300To399(int32 command)
pCarGen->SwitchOff();
}else if (ScriptParams[1] <= 100){
pCarGen->SwitchOn();
pCarGen->SetUsesRemaining(ScriptParams[1]);
}else{
pCarGen->SwitchOn();
pCarGen->SetUsesRemaining(ScriptParams[1]);
}
return 0;
}