summaryrefslogtreecommitdiff
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 19:17:47 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 19:17:47 +0300
commita24b65cbde23929c388e0c207b804a87346a9592 (patch)
tree6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/peds
parentaa12251c6b29e169516778473d0e17fce52d9e2d (diff)
IsStatic
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 6be4b3d7..161cd927 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -14856,11 +14856,11 @@ CPed::ProcessEntityCollision(CEntity *collidingEnt, CColPoint *collidingPoints)
if (!collidingEnt->IsBuilding())
((CPhysical*)collidingEnt)->AddCollisionRecord(this);
- if (ourCollidedSpheres > 0 && (collidingEnt->IsBuilding() || collidingEnt->bIsStatic)) {
+ if (ourCollidedSpheres > 0 && (collidingEnt->IsBuilding() || collidingEnt->IsStatic())) {
bHasHitWall = true;
}
}
- if (collidingEnt->IsBuilding() || collidingEnt->bIsStatic) {
+ if (collidingEnt->IsBuilding() || collidingEnt->IsStatic()) {
if (bWasStanding) {
CVector sphereNormal;