From 8373db1e7a88904ec9fb8843e9c8082309adf775 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 31 Jan 2020 12:12:49 +0200 Subject: RC toyz crashfix --- src/control/Script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/control/Script.cpp b/src/control/Script.cpp index f74c5656..50a1f726 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -5046,7 +5046,7 @@ int8 CRunningScript::ProcessCommandsFrom500To599(int32 command) return 0; } case COMMAND_IS_PLAYER_IN_REMOTE_MODE: - CollectParameters(&m_nIp, 2); + CollectParameters(&m_nIp, 1); UpdateCompareFlag(CWorld::Players[ScriptParams[0]].IsPlayerInRemoteMode()); return 0; case COMMAND_ARM_CAR_WITH_BOMB: -- cgit v1.2.3