bug fixed
This commit is contained in:
parent
796ad66d72
commit
48a10de41f
@ -9614,7 +9614,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||||||
CBaseModelInfo* pInfo = CModelInfo::GetModelInfo(model);
|
CBaseModelInfo* pInfo = CModelInfo::GetModelInfo(model);
|
||||||
script_assert(pInfo->GetModelType() == MITYPE_VEHICLE);
|
script_assert(pInfo->GetModelType() == MITYPE_VEHICLE);
|
||||||
CVehicleModelInfo* pVehicleInfo = (CVehicleModelInfo*)pInfo;
|
CVehicleModelInfo* pVehicleInfo = (CVehicleModelInfo*)pInfo;
|
||||||
if (pVehicleInfo->m_vehicleType != VEHICLE_TYPE_CAR) {
|
if (pVehicleInfo->m_vehicleType == VEHICLE_TYPE_CAR) {
|
||||||
switch (model) {
|
switch (model) {
|
||||||
case MI_LANDSTAL:
|
case MI_LANDSTAL:
|
||||||
case MI_LINERUN:
|
case MI_LINERUN:
|
||||||
|
Loading…
Reference in New Issue
Block a user