From 2fcadd277d2523954ed35f10e234bcfdefa341b3 Mon Sep 17 00:00:00 2001 From: Yanis002 <35189056+Yanis002@users.noreply.github.com> Date: Tue, 1 Jul 2025 01:25:08 +0200 Subject: fix playercontrol issue --- src/00_Core/Player/PlayerControl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/00_Core/Player/PlayerControl.cpp') 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); } -- cgit v1.2.3