summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-16 00:19:08 +0200
committerGitHub <noreply@github.com>2020-04-16 00:19:08 +0200
commit1fd7b0288c00486721faaff6af4d9d36ebe9b57d (patch)
tree091b3b68ce8c6287656ea1a87ebb30a19cb1ef46 /src
parentDefault native resolution mode and small camera fixes (diff)
downloadre3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar.gz
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar.bz2
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar.lz
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar.xz
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.tar.zst
re3-1fd7b0288c00486721faaff6af4d9d36ebe9b57d.zip
Diffstat (limited to 'src')
-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 d1134b7c..428ac66a 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9147,7 +9147,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
}
case COMMAND_SET_JAMES_CAR_ON_PATH_TO_PLAYER:
{
- CollectParameters(&m_nIp, 2);
+ CollectParameters(&m_nIp, 1);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
assert(pVehicle);
CCarCtrl::JoinCarWithRoadSystemGotoCoors(pVehicle, FindPlayerCoors(), false);