mirror of
https://github.com/halpz/re3.git
synced 2025-07-12 21:48:12 +00:00
Restored beta police system(disabled), fixes from miami, debug info for CFO crash (#639)
This commit is contained in:
@ -3297,7 +3297,12 @@ int8 CRunningScript::ProcessCommands100To199(int32 command)
|
||||
ped->ClearAll();
|
||||
int8 path = ScriptParams[1];
|
||||
if (ScriptParams[1] < 0 || ScriptParams[1] > 7)
|
||||
// Max number GetRandomNumberInRange returns is max-1
|
||||
#ifdef FIX_BUGS
|
||||
path = CGeneral::GetRandomNumberInRange(0, 8);
|
||||
#else
|
||||
path = CGeneral::GetRandomNumberInRange(0, 7);
|
||||
#endif
|
||||
ped->SetWanderPath(path);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user