diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-08-18 18:02:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 18:02:47 +0200 |
commit | 2c2b722f216577e4a00e9794a8a04fdff7e0a82f (patch) | |
tree | 55d68941b9c957d67ff44e209df284c5d71ff55d | |
parent | Merge pull request #690 from jack9267/master (diff) | |
parent | CREATE_RANDOM_CAR_FOR_CAR_PARK is supposed to be RANDOM_VEHICLE (diff) | |
download | re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar.gz re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar.bz2 re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar.lz re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar.xz re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.tar.zst re3-2c2b722f216577e4a00e9794a8a04fdff7e0a82f.zip |
-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 fa0fb463..93c1ffe3 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -9700,7 +9700,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command) return 0; CVehicle* car; if (!CModelInfo::IsBikeModel(model)) - car = new CAutomobile(model, MISSION_VEHICLE); + car = new CAutomobile(model, RANDOM_VEHICLE); CVector pos = *(CVector*)&ScriptParams[0]; pos.z += car->GetDistanceFromCentreOfMassToBaseOfModel(); car->SetPosition(pos); |