diff options
author | aap <aap@papnet.eu> | 2019-07-08 17:07:34 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-08 17:07:34 +0200 |
commit | edf5ac2626ce17b74037281aa3c9730902b4b1d4 (patch) | |
tree | dd3a4838a06a887af9e01d43d70d4c6a9307e24c /src/entities/Physical.cpp | |
parent | cleaned up patching of virtual functions; started CAutomobile (diff) | |
download | re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar.gz re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar.bz2 re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar.lz re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar.xz re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.tar.zst re3-edf5ac2626ce17b74037281aa3c9730902b4b1d4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Physical.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index 3d45bf52..b2512ec2 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -1883,7 +1883,7 @@ CPhysical::ProcessCollision(void) if(IsPed() && m_vecMoveSpeed.z == 0.0f && !ped->m_ped_flagA2 && ped->bIsStanding) - savedMatrix.GetPosition()->z = GetPosition().z; + savedMatrix.GetPosition().z = GetPosition().z; GetMatrix() = savedMatrix; CTimer::SetTimeStep(savedTimeStep); return; @@ -1891,7 +1891,7 @@ CPhysical::ProcessCollision(void) if(IsPed() && m_vecMoveSpeed.z == 0.0f && !ped->m_ped_flagA2 && ped->bIsStanding) - savedMatrix.GetPosition()->z = GetPosition().z; + savedMatrix.GetPosition().z = GetPosition().z; GetMatrix() = savedMatrix; CTimer::SetTimeStep(savedTimeStep); if(IsVehicle()){ |