diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:17:47 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:17:47 +0200 |
commit | a24b65cbde23929c388e0c207b804a87346a9592 (patch) | |
tree | 6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/peds | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
download | re3-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 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
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; |