diff options
| author | Aetias <144526980+AetiasHax@users.noreply.github.com> | 2025-11-16 17:14:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-16 17:14:48 +0100 |
| commit | fc691f4c8f76d11d6b47149fefadaca4470ab2a1 (patch) | |
| tree | fe987a191d96ca71ce32776be09a57408f491050 /src/05 | |
| parent | 5b15874c4d2d7c185c98f2791cf8fa6a9d86a440 (diff) | |
LinkStateInteract (#135)
* Map symbol in Game
* LinkStateInteract 19%
* DebugHierarchy -> Bhio
* LinkStateInteract 89%
* LinkStateInteract 93%
* Japanese strings
* Fix build
* Fix regression
* Fix regressions
* Rename BhioBase.cpp
Diffstat (limited to 'src/05')
| -rw-r--r-- | src/05/Player/LinkStateMove_05.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/05/Player/LinkStateMove_05.cpp b/src/05/Player/LinkStateMove_05.cpp index 043a05b7..68d44f41 100644 --- a/src/05/Player/LinkStateMove_05.cpp +++ b/src/05/Player/LinkStateMove_05.cpp @@ -108,7 +108,7 @@ ARM void LinkStateMove::vfunc_1c() { if (mUnk_0c > 0) { q4 temp_r8 = data_ov005_02112be4; - s16 temp_r1 = *this->GetPlayerAngle() + this->Get_PlayerControlData_Unk32(); + s16 temp_r1 = *(s16 *) this->GetPlayerAngle() + this->Get_PlayerControlData_Unk32(); this->TurnTo(temp_r1, temp_r1, temp_r8); s32 temp_r1_2 = mUnk_0c; if (temp_r7_2 > temp_r1_2) { @@ -143,7 +143,7 @@ ARM void LinkStateMove::vfunc_1c() { filter.mUnk_08 = FLOAT_TO_Q20(4.0); Vec3p pos = *this->GetPlayerPos(); filter.mPos = pos; - filter.mAngle = *this->GetPlayerAngle(); + filter.mAngle = *(s16 *) this->GetPlayerAngle(); if (gActorManager->FilterActors(&filter, NULL) > 0) { q20 temp_r1_4 = FLOAT_TO_Q20(4.0) - filter.mUnk_08; Vec3p spC = filter.mActor->mPos; |
