From e4f1ab20f1a5f5568888fd64b2c93f9baf0fac4e Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 2 Feb 2020 01:12:20 +0300 Subject: fixed bullion run --- src/control/Script.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/control') 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(); -- cgit v1.2.3