summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.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/CarCtrl.cpp
parentimplemented most of vice city path system (diff)
downloadre3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.gz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.bz2
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.lz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.xz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.zst
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.zip
Diffstat (limited to '')
-rw-r--r--src/control/CarCtrl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp
index 0ee42690..c3fb5409 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -2740,7 +2740,11 @@ bool CCarCtrl::ThisRoadObjectCouldMove(int16 mi)
bool CCarCtrl::MapCouldMoveInThisArea(float x, float y)
{
+#ifdef GTA_BRIDGE // actually they forgot that in VC...
// bridge moves up and down
return x > -342.0f && x < -219.0f &&
y > -677.0f && y < -580.0f;
+#else
+ return false;
+#endif
}