summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/Physical.cpp')
-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);