fixed remote

This commit is contained in:
Nikolay Korolev 2019-07-26 10:44:56 +03:00
parent 01bbb0530b
commit fe53007919
3 changed files with 3 additions and 3 deletions

View file

@ -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: