summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/control/Script.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 6de072d1..117d8b54 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -4717,8 +4717,8 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
CPowerPoints::GenerateNewOne(f1, f2, f3, f4, f5, f6, *(uint8*)&ScriptParams[6]);
- return 0;
- }
+ return 0;
+ }
#endif // GTA_PS2
case COMMAND_SET_ALL_TAXI_LIGHTS:
CollectParameters(&m_nIp, 1);
@@ -5654,6 +5654,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
}
case COMMAND_GET_NUMBER_OF_POWER_PILLS_CARRIED:
ScriptParams[0] = CPacManPickups::QueryPowerPillsCarriedByPlayer();
+ StoreParameters(&m_nIp, 1);
return 0;
case COMMAND_CLEAR_NUMBER_OF_POWER_PILLS_CARRIED:
CPacManPickups::ResetPowerPillsCarriedByPlayer();