mirror of
https://github.com/halpz/re3.git
synced 2025-04-29 21:08:00 +03:00
Restored beta police system(disabled), fixes from miami, debug info for CFO crash (#639)
This commit is contained in:
parent
779d4e02a4
commit
eda50bc32b
14 changed files with 430 additions and 158 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue