diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-26 09:44:56 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-26 09:44:56 +0200 |
commit | fe53007919c075c38ad456e85c97f7ed46417749 (patch) | |
tree | 4d1ba5b96fc2d1e938037e93b48e3e4aa03267d5 /src/control/Script.cpp | |
parent | Merge pull request #163 from Nick007J/master (diff) | |
download | re3-fe53007919c075c38ad456e85c97f7ed46417749.tar re3-fe53007919c075c38ad456e85c97f7ed46417749.tar.gz re3-fe53007919c075c38ad456e85c97f7ed46417749.tar.bz2 re3-fe53007919c075c38ad456e85c97f7ed46417749.tar.lz re3-fe53007919c075c38ad456e85c97f7ed46417749.tar.xz re3-fe53007919c075c38ad456e85c97f7ed46417749.tar.zst re3-fe53007919c075c38ad456e85c97f7ed46417749.zip |
Diffstat (limited to 'src/control/Script.cpp')
-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 ae49094b..31684e3f 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2550,7 +2550,7 @@ int8 CRunningScript::ProcessCommandsFrom200To299(int32 command) CVector pos = *(CVector*)&ScriptParams[1]; if (pos.z <= -100.0f) pos.z = CWorld::FindGroundZForCoord(pos.x, pos.y); - CRemote::GivePlayerRemoteControlledCar(pos.x, pos.y, pos.z, DEGTORAD(*(float*)&ScriptParams[4])); + CRemote::GivePlayerRemoteControlledCar(pos.x, pos.y, pos.z, DEGTORAD(*(float*)&ScriptParams[4]), MI_RCBANDIT); return 0; } case COMMAND_ALTER_WANTED_LEVEL: |