summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-03 15:57:57 +0200
committeraap <aap@papnet.eu>2020-05-03 16:09:37 +0200
commit702da55ec9d0e8e02df25a26390a113e452676e3 (patch)
tree9c86a1700aa54b929cd1015c9b9aa975a2d75336 /src/entities/Physical.cpp
parentFix pad Y axis (diff)
downloadre3-702da55ec9d0e8e02df25a26390a113e452676e3.tar
re3-702da55ec9d0e8e02df25a26390a113e452676e3.tar.gz
re3-702da55ec9d0e8e02df25a26390a113e452676e3.tar.bz2
re3-702da55ec9d0e8e02df25a26390a113e452676e3.tar.lz
re3-702da55ec9d0e8e02df25a26390a113e452676e3.tar.xz
re3-702da55ec9d0e8e02df25a26390a113e452676e3.tar.zst
re3-702da55ec9d0e8e02df25a26390a113e452676e3.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Physical.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index 842104a4..af08ced6 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -267,6 +267,7 @@ void
CPhysical::AddCollisionRecord_Treadable(CEntity *ent)
{
if(ent->IsBuilding() && ((CBuilding*)ent)->GetIsATreadable()){
+#ifndef MIAMI
CTreadable *t = (CTreadable*)ent;
if(t->m_nodeIndices[PATH_PED][0] >= 0 ||
t->m_nodeIndices[PATH_PED][1] >= 0 ||
@@ -278,6 +279,7 @@ CPhysical::AddCollisionRecord_Treadable(CEntity *ent)
t->m_nodeIndices[PATH_CAR][2] >= 0 ||
t->m_nodeIndices[PATH_CAR][3] >= 0)
m_treadable[PATH_CAR] = t;
+#endif
}
}