summaryrefslogtreecommitdiffstats
path: root/src/control/TrafficLights.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 17:32:46 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-05 17:32:46 +0200
commit1eb817de7713ea95bbbcbd7543ffce61ced8ffec (patch)
treeb0032de7a7452f49df7d03254e1e1c9f25b98f0d /src/control/TrafficLights.cpp
parentRemove ColStore (diff)
downloadre3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.gz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.bz2
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.lz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.xz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.zst
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.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