summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-05 23:21:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-05 23:21:26 +0200
commit35bf340401354f0c9af9efe88ae425bfd9e1b145 (patch)
tree627ac266b96acbabda3dc2e9b5cf95801ca7b199 /src/peds/Ped.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.gz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.bz2
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.lz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.xz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.zst
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.zip
Diffstat (limited to '')
-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 2048d805..c8b0b922 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -14853,11 +14853,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;