diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 18:31:39 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 18:31:39 +0200 |
commit | 20ab7d1739f8678198c3c8883a20486f3adf1b0c (patch) | |
tree | c53038d810b744538f21a975ca8dc0f5667c4785 /src/peds/Ped.cpp | |
parent | Fix attractor even more (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.gz re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.bz2 re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.lz re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.xz re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.tar.zst re3-20ab7d1739f8678198c3c8883a20486f3adf1b0c.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 5ec83d3b..c2ae422b 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -16428,11 +16428,11 @@ CPed::ProcessEntityCollision(CEntity *collidingEnt, CColPoint *collidingPoints) if (!collidingEnt->IsBuilding()) ((CPhysical*)collidingEnt)->AddCollisionRecord(this); - if (ourCollidedSpheres > 0 && (collidingEnt->IsBuilding() || collidingEnt->IsStatic())) { + if (ourCollidedSpheres > 0 && (collidingEnt->IsBuilding() || collidingEnt->GetIsStatic())) { bHasHitWall = true; } } - if (collidingEnt->IsBuilding() || collidingEnt->IsStatic()) { + if (collidingEnt->IsBuilding() || collidingEnt->GetIsStatic()) { if (bWasStanding) { CVector sphereNormal; float normalLength; @@ -18414,7 +18414,7 @@ CPed::SeekCar(void) { m_fRotationCur = m_fRotationDest; if (!bVehEnterDoorIsBlocked) { - vehToSeek->bIsStatic = false; + vehToSeek->SetIsStatic(false); if (m_objective == OBJECTIVE_SOLICIT_VEHICLE) { SetSolicit(1000); } else if (m_objective == OBJECTIVE_BUY_ICE_CREAM) { |