summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 14:33:42 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 14:33:42 +0100
commit416a898943e5853c650799826b0e29117919bded (patch)
tree4d164c4da33ebfc6c408adba58564f429836830d /src/control/Script3.cpp
parentCleanup and fixes for new decoders (diff)
downloadre3-416a898943e5853c650799826b0e29117919bded.tar
re3-416a898943e5853c650799826b0e29117919bded.tar.gz
re3-416a898943e5853c650799826b0e29117919bded.tar.bz2
re3-416a898943e5853c650799826b0e29117919bded.tar.lz
re3-416a898943e5853c650799826b0e29117919bded.tar.xz
re3-416a898943e5853c650799826b0e29117919bded.tar.zst
re3-416a898943e5853c650799826b0e29117919bded.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index 9a37cb6c..add1c249 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -342,7 +342,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
CollectParameters(&m_nIp, 1);
CGarages::SetFreeBombs(ScriptParams[0] != 0);
return 0;
-#ifdef GTA_PS2
+#if GTA_VERSION <= GTA3_PS2_160
case COMMAND_SET_POWERPOINT:
{
CollectParameters(&m_nIp, 7);
@@ -376,7 +376,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
return 0;
}
-#endif // GTA_PS2
+#endif // GTA_VERSION <= GTA3_PS2_160
case COMMAND_SET_ALL_TAXI_LIGHTS:
CollectParameters(&m_nIp, 1);
CAutomobile::SetAllTaxiLights(ScriptParams[0] != 0);