summaryrefslogtreecommitdiffstats
path: root/src/control/TrafficLights.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-06 09:24:18 +0200
committeraap <aap@papnet.eu>2020-05-06 09:24:18 +0200
commit8e84728f41aef0c01f0a7eaf2e074ee876712861 (patch)
tree85484924e37a3afb3c4524cb89f72672a9b86d88 /src/control/TrafficLights.cpp
parentupdated librw (diff)
parentRemove audio from premake (diff)
downloadre3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.gz
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.bz2
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.lz
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.xz
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.zst
re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.zip
Diffstat (limited to 'src/control/TrafficLights.cpp')
-rw-r--r--src/control/TrafficLights.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/control/TrafficLights.cpp b/src/control/TrafficLights.cpp
index f2dd6814..b2f0900e 100644
--- a/src/control/TrafficLights.cpp
+++ b/src/control/TrafficLights.cpp
@@ -273,12 +273,8 @@ CTrafficLights::ShouldCarStopForLight(CVehicle *vehicle, bool alwaysStop)
bool
CTrafficLights::ShouldCarStopForBridge(CVehicle *vehicle)
{
-#ifdef GTA_BRIDGE
return ThePaths.m_carPathLinks[vehicle->AutoPilot.m_nNextPathNodeInfo].bBridgeLights &&
!ThePaths.m_carPathLinks[vehicle->AutoPilot.m_nCurrentPathNodeInfo].bBridgeLights;
-#else
- return false;
-#endif
}
int