fix playercontrol issue

This commit is contained in:
Yanis002
2025-07-01 01:25:08 +02:00
parent 289e9153e6
commit 2fcadd277d
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
struct UnkStruct_027e0d38_UnkC {
/* 00 */ unk32 mUnk_00;
unk32 func_ov000_020a5e9c(void);
s32 func_ov000_020a5e9c(void);
};
struct UnkStruct_027e0d38_Unk28 {
+1 -3
View File
@@ -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);
}