diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-30 23:38:43 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-30 23:38:43 +0100 |
commit | 75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79 (patch) | |
tree | 629c394b46991f2b51b98207eb7425db0d106f80 /src/control/Script3.cpp | |
parent | fix (diff) | |
download | re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar.gz re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar.bz2 re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar.lz re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar.xz re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.tar.zst re3-75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79.zip |
Diffstat (limited to 'src/control/Script3.cpp')
-rw-r--r-- | src/control/Script3.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp index f05c21eb..64014ac8 100644 --- a/src/control/Script3.cpp +++ b/src/control/Script3.cpp @@ -1225,6 +1225,10 @@ int8 CRunningScript::ProcessCommands600To699(int32 command) if (pVehicle->m_vehType == VEHICLE_TYPE_CAR) #endif ((CAutomobile*)pVehicle)->bFixedColour = (GET_INTEGER_PARAM(1) == 0); +#ifdef FIX_BUGS + else if (pVehicle->m_vehType == VEHICLE_TYPE_BIKE) + ((CBike*)pVehicle)->bFixedColour = (GET_INTEGER_PARAM(1) == 0); +#endif return 0; } |