summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
diff options
context:
space:
mode:
authorblingu <36486731+blingu@users.noreply.github.com>2020-05-24 17:36:37 +0200
committerGitHub <noreply@github.com>2020-05-24 17:36:37 +0200
commit55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4 (patch)
tree98ed54ac45db64de4959be5a3b6d100de919dafc /src/peds/CopPed.cpp
parentMerge branch 'miami' of https://github.com/blingu/re3 into miami (diff)
downloadre3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar.gz
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar.bz2
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar.lz
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar.xz
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.tar.zst
re3-55ece14f423f65b09c8c3d8849a3eb8a7fd7d4c4.zip
Diffstat (limited to 'src/peds/CopPed.cpp')
-rw-r--r--src/peds/CopPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index 35acd675..6fb858f6 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -257,7 +257,7 @@ CCopPed::ArrestPlayer(void)
CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_ARREST_GUN, 4.0f);
CVector suspMidPos;
- suspect->m_pedIK.GetComponentPosition(*(RwV3d*)&suspMidPos, PED_MID);
+ suspect->m_pedIK.GetComponentPosition(*(RwV3d *)&suspMidPos, PED_MID);
m_fRotationDest = CGeneral::GetRadianAngleBetweenPoints(suspMidPos.x, suspMidPos.y,
GetPosition().x, GetPosition().y);