summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAI.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-18 01:57:54 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-18 01:57:54 +0100
commite9a567034818c5e3338120958061e4a4278d97da (patch)
tree20293ced9c835a859071400fdbb3338b90159846 /src/peds/PedAI.cpp
parentPreAllocateRwObjects (diff)
downloadre3-e9a567034818c5e3338120958061e4a4278d97da.tar
re3-e9a567034818c5e3338120958061e4a4278d97da.tar.gz
re3-e9a567034818c5e3338120958061e4a4278d97da.tar.bz2
re3-e9a567034818c5e3338120958061e4a4278d97da.tar.lz
re3-e9a567034818c5e3338120958061e4a4278d97da.tar.xz
re3-e9a567034818c5e3338120958061e4a4278d97da.tar.zst
re3-e9a567034818c5e3338120958061e4a4278d97da.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PedAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp
index d4385385..a747c684 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -1141,7 +1141,7 @@ CPed::ProcessObjective(void)
CVector target;
CVector ourHead = GetMatrix() * CVector(0.5f, 0.0f, 0.6f);
if (m_pedInObjective->IsPed())
- m_pedInObjective->m_pedIK.GetComponentPosition((RwV3d*)&target, PED_MID);
+ m_pedInObjective->m_pedIK.GetComponentPosition(target, PED_MID);
else
target = m_pedInObjective->GetPosition();