summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-13 13:14:22 +0100
committeraap <aap@papnet.eu>2020-11-13 13:14:22 +0100
commit8ab0d25b4a95a652244536667673348fa16eb895 (patch)
tree1f209ed6972ee3600517e4f3dd18b21d1122b354 /src/peds/PlayerPed.cpp
parentfixed bike collision damage (diff)
downloadre3-8ab0d25b4a95a652244536667673348fa16eb895.tar
re3-8ab0d25b4a95a652244536667673348fa16eb895.tar.gz
re3-8ab0d25b4a95a652244536667673348fa16eb895.tar.bz2
re3-8ab0d25b4a95a652244536667673348fa16eb895.tar.lz
re3-8ab0d25b4a95a652244536667673348fa16eb895.tar.xz
re3-8ab0d25b4a95a652244536667673348fa16eb895.tar.zst
re3-8ab0d25b4a95a652244536667673348fa16eb895.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PlayerPed.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index 24718b19..76599777 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -268,8 +268,7 @@ CPlayerPed::SetInitialState(void)
CTimer::SetTimeScale(1.0f);
m_pSeekTarget = nil;
m_vecSeekPos = CVector(0.0f, 0.0f, 0.0f);
- m_fleeFromPosX = 0.0f;
- m_fleeFromPosY = 0.0f;
+ m_fleeFromPos = CVector2D(0.0f, 0.0f);
m_fleeFrom = nil;
m_fleeTimer = 0;
m_objective = OBJECTIVE_NONE;