mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
CREATE_RANDOM_CAR_FOR_CAR_PARK is supposed to be RANDOM_VEHICLE
This commit is contained in:
parent
db1e5a6ec4
commit
809c09938a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user