Use else if
This commit is contained in:
parent
a9b56e78e2
commit
4a24b5afb4
|
@ -2321,10 +2321,8 @@ 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 {
|
} else if (this->rideActor != NULL) {
|
||||||
if (this->rideActor != NULL) {
|
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?
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue