mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-28 02:35:41 +00:00
little script change
This commit is contained in:
parent
19b21cafcd
commit
f80474f590
1 changed files with 2 additions and 2 deletions
|
@ -3160,14 +3160,14 @@ int8 CRunningScript::ProcessCommands300To399(int32 command)
|
||||||
char label[12];
|
char label[12];
|
||||||
CTheScripts::ReadTextLabelFromScript(&m_nIp, label);
|
CTheScripts::ReadTextLabelFromScript(&m_nIp, label);
|
||||||
m_nIp += KEY_LENGTH_IN_SCRIPT;
|
m_nIp += KEY_LENGTH_IN_SCRIPT;
|
||||||
CollectParameters(&m_nIp, 10);
|
CollectParameters(&m_nIp, 12);
|
||||||
int16 zone = CTheZones::FindZoneByLabelAndReturnIndex(label, ZONE_INFO);
|
int16 zone = CTheZones::FindZoneByLabelAndReturnIndex(label, ZONE_INFO);
|
||||||
if (zone < 0) {
|
if (zone < 0) {
|
||||||
debug("Couldn't find zone - %s\n", label);
|
debug("Couldn't find zone - %s\n", label);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
CTheZones::SetZonePedInfo(zone, ScriptParams[0], ScriptParams[1], ScriptParams[2], ScriptParams[3],
|
CTheZones::SetZonePedInfo(zone, ScriptParams[0], ScriptParams[1], ScriptParams[2], ScriptParams[3],
|
||||||
ScriptParams[4], ScriptParams[5], ScriptParams[6], ScriptParams[7], ScriptParams[8], 0, 0, ScriptParams[9]);
|
ScriptParams[4], ScriptParams[5], ScriptParams[6], ScriptParams[7], ScriptParams[8], ScriptParams[9], ScriptParams[10], ScriptParams[11]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_SET_TIME_SCALE:
|
case COMMAND_SET_TIME_SCALE:
|
||||||
|
|
Loading…
Reference in a new issue