summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:17:47 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:17:47 +0200
commita24b65cbde23929c388e0c207b804a87346a9592 (patch)
tree6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/peds
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-a24b65cbde23929c388e0c207b804a87346a9592.tar
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.gz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.bz2
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.lz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.xz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.zst
re3-a24b65cbde23929c388e0c207b804a87346a9592.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 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;