diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-06 18:32:57 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-06 18:32:57 +0200 |
commit | 6ad66fb2d78360053febb3369a7ec448ffec73fd (patch) | |
tree | 6c0f21a5f8ecc2cb7facd55f3944b65c1c3a6d0e /src/peds/Ped.cpp | |
parent | CSphere and CBox for CColModel (diff) | |
parent | Merge pull request #517 from Nick007J/master (diff) | |
download | re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.gz re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.bz2 re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.lz re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.xz re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.zst re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-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 0a0a807d..042596de 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; |