summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-21 23:51:15 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-21 23:51:15 +0300
commit46ae5700eee72c8cc5b19eb01ea158700801f7e0 (patch)
tree9f6247f7aa8c6b7a8de3ff25b0a04a56a8c84600
parentc8e715c33bb588dff96ae3477d6a42653c7cc14c (diff)
a few fixes
-rw-r--r--src/control/Script10.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Script10.cpp b/src/control/Script10.cpp
index 2fa6ea8f..536701b3 100644
--- a/src/control/Script10.cpp
+++ b/src/control/Script10.cpp
@@ -32,12 +32,15 @@ int8 CRunningScript::ProcessCommands1600To1699(int32 command)
// CStats::NoodlesDelievered += GET_INTEGER_PARAM(0);
return 0;
case COMMAND_REGISTER_SCRAPYARD_CHALLENGE_SCORE:
+ CollectParameters(&m_nIp, 1);
//CStats::TopScrapyardChallengeScore = Max(CStats::TopScrapyardChallengeScore, GET_INTEGER_PARAM(0));
return 0;
case COMMAND_REGISTER_9MM_MAYHEM_SCORE:
+ CollectParameters(&m_nIp, 1);
//CStats::Top9mmMayhemScore = Max(CStats::Top9mmMayhemScore, GET_INTEGER_PARAM(0));
return 0;
case COMMAND_REGISTER_SCOOTER_SHOOTER_SCORE:
+ CollectParameters(&m_nIp, 1);
//CStats::TopScooterShooterScore = Max(CStats::TopScooterShooterScore, GET_INTEGER_PARAM(0));
return 0;
case COMMAND_ADD_MONEY_MADE_FROM_TOURIST:
@@ -65,6 +68,7 @@ int8 CRunningScript::ProcessCommands1600To1699(int32 command)
// CStats::RegisterDirtBikeFastestTime(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1));
return 0;
case COMMAND_REGISTER_DIRT_BIKE_AIR_TIME:
+ CollectParameters(&m_nIp, 1);
//CStats::DirtBikeMostAir = Max(CStats::DirtBikeMostAir, GET_INTEGER_PARAM(0));
return 0;
case COMMAND_ADD_ARROW_3D_MARKER: