From 1eb817de7713ea95bbbcbd7543ffce61ced8ffec Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Tue, 5 May 2020 18:32:46 +0300 Subject: Remove GTA_TRAIN, GTA_BRIDGE, GTA_ZONECULL --- src/control/TrafficLights.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/control/TrafficLights.cpp') 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 -- cgit v1.2.3