Remove GTA_TRAIN, GTA_BRIDGE, GTA_ZONECULL

This commit is contained in:
Sergeanur committed 2020-05-05 18:32:46 +03:00
1 parent 0163a7bc46
commit 1eb817de77
15 files changed
+4 -126

No files matched your search

-4
View File
@@ -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