summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-16 09:45:47 +0100
committerGitHub <noreply@github.com>2020-11-16 09:45:47 +0100
commit8a8f2d4e5bcb765471442f165ffe1b597e903e50 (patch)
tree6cde2086c123c3690dbfc4f04cc0f606ce9905c4 /src/peds/PlayerPed.cpp
parentMake collision code placement more like original (+ small fixes) (diff)
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar.gz
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar.bz2
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar.lz
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar.xz
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.tar.zst
re3-8a8f2d4e5bcb765471442f165ffe1b597e903e50.zip
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-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;