mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 00:18:59 +00:00
now fixed properly
This commit is contained in:
parent
3c5624bc56
commit
c5699a9b30
1 changed files with 1 additions and 5 deletions
|
@ -10098,11 +10098,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||
model = CStreaming::ms_vehiclesLoaded[index];
|
||||
if (model == -1)
|
||||
continue;
|
||||
// desperatly want to believe this was inlined :|
|
||||
CBaseModelInfo* pInfo = CModelInfo::GetModelInfo(model);
|
||||
script_assert(pInfo->GetModelType() == MITYPE_VEHICLE);
|
||||
CVehicleModelInfo* pVehicleInfo = (CVehicleModelInfo*)pInfo;
|
||||
if (pVehicleInfo->m_vehicleType == VEHICLE_TYPE_CAR || pVehicleInfo->m_vehicleType == VEHICLE_TYPE_BIKE) {
|
||||
if (CModelInfo::IsCarModel(model) || CModelInfo::IsBikeModel(model)) {
|
||||
switch (model) {
|
||||
case MI_LANDSTAL:
|
||||
case MI_LINERUN:
|
||||
|
|
Loading…
Reference in a new issue