summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:00 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:00 +0200
commit7ab2ba9399eb8003821122f619371e443a8b1603 (patch)
treeb0490ac6bdd9b7ff863cdd26d68280aea2e9357d /src/entities/Physical.cpp
parentMerge pull request #62 from erorcun/erorcun (diff)
downloadre3-7ab2ba9399eb8003821122f619371e443a8b1603.tar
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.gz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.bz2
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.lz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.xz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.zst
re3-7ab2ba9399eb8003821122f619371e443a8b1603.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Physical.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index b35b2d11..3e043a32 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1842,7 +1842,7 @@ CPhysical::ProcessCollision(void)
if(CheckCollision()){
if(IsPed() && m_vecMoveSpeed.z == 0.0f &&
!ped->m_ped_flagA2 &&
- ped->m_ped_flagA1)
+ ped->bIsStanding)
savedMatrix.GetPosition()->z = GetPosition().z;
GetMatrix() = savedMatrix;
CTimer::SetTimeStep(savedTimeStep);
@@ -1850,7 +1850,7 @@ CPhysical::ProcessCollision(void)
}
if(IsPed() && m_vecMoveSpeed.z == 0.0f &&
!ped->m_ped_flagA2 &&
- ped->m_ped_flagA1)
+ ped->bIsStanding)
savedMatrix.GetPosition()->z = GetPosition().z;
GetMatrix() = savedMatrix;
CTimer::SetTimeStep(savedTimeStep);