diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 20:10:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 20:10:23 +0200 |
commit | f7d5021ac59026435165e97aba869a76cfef1059 (patch) | |
tree | 1a57b2e0491be1505f20f99aa38e84232619b53a /src/control/Script.cpp | |
parent | Fix coronas reflections (diff) | |
download | re3-f7d5021ac59026435165e97aba869a76cfef1059.tar re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.gz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.bz2 re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.lz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.xz re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.zst re3-f7d5021ac59026435165e97aba869a76cfef1059.zip |
Diffstat (limited to '')
-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 5cd20001..f5391527 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -10102,7 +10102,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 || pVehicleInfo->m_vehicleType == VEHICLE_TYPE_BIKE) { switch (model) { case MI_LANDSTAL: case MI_LINERUN: |