summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-30 23:38:43 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-30 23:38:43 +0100
commit75a20216d9c0c0cb4d0f9a8e56c2319214a1cb79 (patch)
tree629c394b46991f2b51b98207eb7425db0d106f80 /src/control/Script3.cpp
parentfix (diff)
downloadre3-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.cpp4
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;
}