diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-01 23:12:20 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-02-02 00:43:04 +0100 |
commit | e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e (patch) | |
tree | 872ae47fa3aeab2c0a9fb9b0599fd568f75c1f1c /src/control/Script.cpp | |
parent | Replay crash fix (diff) | |
download | re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar.gz re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar.bz2 re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar.lz re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar.xz re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.tar.zst re3-e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 5 |
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(); |