Merge pull request #113 from Sirius902/item-fix

Fix aiming items
This commit is contained in:
Nicholas Estelami 2022-03-30 20:15:42 -04:00 committed by GitHub
commit 511397c34b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -2321,9 +2321,7 @@ s32 func_8083501C(Player* this, GlobalContext* globalCtx) {
if ((!Player_HoldsHookshot(this) || func_80834FBC(this)) && !func_80834758(globalCtx, this) && if ((!Player_HoldsHookshot(this) || func_80834FBC(this)) && !func_80834758(globalCtx, this) &&
!func_80834F2C(this, globalCtx)) { !func_80834F2C(this, globalCtx)) {
return 0; return 0;
} } else if (this->rideActor != NULL) {
else
{
this->unk_6AD = 2; // OTRTODO: THIS IS A BAD IDEA BUT IT FIXES THE HORSE FIRST PERSON? this->unk_6AD = 2; // OTRTODO: THIS IS A BAD IDEA BUT IT FIXES THE HORSE FIRST PERSON?
} }
@ -14806,4 +14804,4 @@ void func_80853148(GlobalContext* globalCtx, Actor* actor) {
this->naviActor->flags |= ACTOR_FLAG_8; this->naviActor->flags |= ACTOR_FLAG_8;
func_80835EA4(globalCtx, 0xB); func_80835EA4(globalCtx, 0xB);
} }
} }