mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 06:18:59 +00:00
fix
This commit is contained in:
parent
ab7a21e017
commit
627ffb0f82
1 changed files with 2 additions and 0 deletions
|
@ -10473,6 +10473,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
||||||
ScriptParams[1] = pPed->GetWeapon(ScriptParams[1]).m_nAmmoTotal;
|
ScriptParams[1] = pPed->GetWeapon(ScriptParams[1]).m_nAmmoTotal;
|
||||||
ScriptParams[2] = CPickups::ModelForWeapon((eWeaponType)ScriptParams[0]);
|
ScriptParams[2] = CPickups::ModelForWeapon((eWeaponType)ScriptParams[0]);
|
||||||
StoreParameters(&m_nIp, 3);
|
StoreParameters(&m_nIp, 3);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_GET_CLOSEST_STRAIGHT_ROAD:
|
case COMMAND_GET_CLOSEST_STRAIGHT_ROAD:
|
||||||
{
|
{
|
||||||
|
@ -10481,6 +10482,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
||||||
for (int i = 0; i < 7; i++)
|
for (int i = 0; i < 7; i++)
|
||||||
ScriptParams[i] = 0;
|
ScriptParams[i] = 0;
|
||||||
StoreParameters(&m_nIp, 7); // TODO(MIAMI)
|
StoreParameters(&m_nIp, 7); // TODO(MIAMI)
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_SET_CAR_FORWARD_SPEED:
|
case COMMAND_SET_CAR_FORWARD_SPEED:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue