From 46ae5700eee72c8cc5b19eb01ea158700801f7e0 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Thu, 21 Jan 2021 23:51:15 +0300 Subject: a few fixes --- src/control/Script10.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.3