diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-16 00:19:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 00:19:08 +0200 |
commit | 1fd7b0288c00486721faaff6af4d9d36ebe9b57d (patch) | |
tree | 091b3b68ce8c6287656ea1a87ebb30a19cb1ef46 /src/control | |
parent | Default native resolution mode and small camera fixes (diff) | |
download | re3-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/control')
-rw-r--r-- | src/control/Script.cpp | 2 |
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); |