aboutsummaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-03 17:28:54 +0200
committeraap <aap@papnet.eu>2020-05-03 17:28:54 +0200
commit67467f15d1dd8e545acc47c5e24beb74e4ca78b3 (patch)
treeab03d72bf34fe94b0e0acdfbb5d49ca3316937fa /src/control/PathFind.cpp
parent702da55ec9d0e8e02df25a26390a113e452676e3 (diff)
GTA_BRIDGE and GTA_TRAIN defines
Diffstat (limited to 'src/control/PathFind.cpp')
-rw-r--r--src/control/PathFind.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index 9370e69a..86314d36 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -1425,7 +1425,7 @@ CPathFind::RemoveBadStartNode(CVector pos, CPathNode **nodes, int16 *n)
}
}
-//--MIAMI: removed, put behind BRIDGE define
+#ifdef GTA_BRIDGE
void
CPathFind::SetLinksBridgeLights(float x1, float x2, float y1, float y2, bool enable)
{
@@ -1437,6 +1437,7 @@ CPathFind::SetLinksBridgeLights(float x1, float x2, float y1, float y2, bool ena
m_carPathLinks[i].bBridgeLights = enable;
}
}
+#endif
//--MIAMI: done
void