diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-07 23:21:44 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-07 23:26:24 +0200 |
commit | da39624f1c694dbeaefc6762fd6867715cdb77bc (patch) | |
tree | 58d34e45cba86fba08992f522e34fc182f215eb2 /src/control/Script.cpp | |
parent | Fix build on clang (diff) | |
download | re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar.gz re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar.bz2 re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar.lz re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar.xz re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.tar.zst re3-da39624f1c694dbeaefc6762fd6867715cdb77bc.zip |
Diffstat (limited to 'src/control/Script.cpp')
-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 95e93b6c..aa4e109f 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -12020,7 +12020,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) script_assert(pVehicle); bool bIsBurst = false; CBike* pBike = (CBike*)pVehicle; - if (pVehicle->m_vehType == VEHICLE_APPEARANCE_BIKE) { + if (pVehicle->IsBike()) { if (ScriptParams[1] == 4) { for (int i = 0; i < 2; i++) { if (pBike->m_wheelStatus[i] == WHEEL_STATUS_BURST) |