Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
bug fixed
  • Loading branch information
Nick007J committed Sep 26, 2020
1 parent 796ad66 commit 48a10de41fac345aae6140835191e699be1bea4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/control/Script.cpp
@@ -9614,7 +9614,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
CBaseModelInfo* pInfo = CModelInfo::GetModelInfo(model);
script_assert(pInfo->GetModelType() == MITYPE_VEHICLE);
CVehicleModelInfo* pVehicleInfo = (CVehicleModelInfo*)pInfo;
if (pVehicleInfo->m_vehicleType != VEHICLE_TYPE_CAR) {
if (pVehicleInfo->m_vehicleType == VEHICLE_TYPE_CAR) {
switch (model) {
case MI_LANDSTAL:
case MI_LINERUN:

0 comments on commit 48a10de

Please sign in to comment.