summaryrefslogtreecommitdiff
path: root/src/00_Core
diff options
context:
space:
mode:
authorYanis002 <35189056+Yanis002@users.noreply.github.com>2025-07-01 01:25:08 +0200
committerYanis002 <35189056+Yanis002@users.noreply.github.com>2025-07-01 01:25:08 +0200
commit2fcadd277d2523954ed35f10e234bcfdefa341b3 (patch)
treeb87589637b96fc057d6c17d488a75835a5512281 /src/00_Core
parent289e9153e672d66893a7d1489da3a2cb67b38ca2 (diff)
fix playercontrol issue
Diffstat (limited to 'src/00_Core')
-rw-r--r--src/00_Core/Player/PlayerControl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/00_Core/Player/PlayerControl.cpp b/src/00_Core/Player/PlayerControl.cpp
index 406fe1da..10b41064 100644
--- a/src/00_Core/Player/PlayerControl.cpp
+++ b/src/00_Core/Player/PlayerControl.cpp
@@ -600,12 +600,10 @@ ARM void PlayerControl::ResetAim() {
mAim = gVec3p_ZERO;
}
-extern "C" s32 func_ov000_020a5e9c(unk32 *param1);
-
ARM bool PlayerControl::UpdateAimWorld(Vec3p *param1) {
Vec3p pos = gPlayerPos;
- s32 iVar2 = func_ov000_020a5e9c(&data_027e0d38->mUnk_0c);
+ s32 iVar2 = data_027e0d38->mUnk_0c.func_ov000_020a5e9c();
if (iVar2 == 0x2f && *(s32 *) (*(s32 *) ((s32) data_027e0f64 + 0x4) + 0x15c) == 0x31) {
return this->func_ov024_02178348(param1);
}