mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 07:44:10 +00:00
Rename m_ped_flagA2 into bWasStanding
This commit is contained in:
parent
94acee8580
commit
81094f2cd7
3 changed files with 16 additions and 16 deletions
|
@ -1886,7 +1886,7 @@ CPhysical::ProcessCollision(void)
|
|||
// TODO: get rid of copy paste?
|
||||
if(CheckCollision()){
|
||||
if(IsPed() && m_vecMoveSpeed.z == 0.0f &&
|
||||
!ped->m_ped_flagA2 &&
|
||||
!ped->bWasStanding &&
|
||||
ped->bIsStanding)
|
||||
savedMatrix.GetPosition().z = GetPosition().z;
|
||||
GetMatrix() = savedMatrix;
|
||||
|
@ -1894,7 +1894,7 @@ CPhysical::ProcessCollision(void)
|
|||
return;
|
||||
}
|
||||
if(IsPed() && m_vecMoveSpeed.z == 0.0f &&
|
||||
!ped->m_ped_flagA2 &&
|
||||
!ped->bWasStanding &&
|
||||
ped->bIsStanding)
|
||||
savedMatrix.GetPosition().z = GetPosition().z;
|
||||
GetMatrix() = savedMatrix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue