summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-31 11:12:49 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-31 11:12:49 +0100
commit8373db1e7a88904ec9fb8843e9c8082309adf775 (patch)
tree928ddab325f76ffcded39b0ec5b82fe29c77dd38 /src/control
parentFixed autoaiming camera (diff)
downloadre3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar.gz
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar.bz2
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar.lz
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar.xz
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.tar.zst
re3-8373db1e7a88904ec9fb8843e9c8082309adf775.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
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: