Skip to content

Commit

Permalink
remove a return 0 (#4347)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pepper0ni authored Sep 17, 2024
1 parent e75400a commit 1b51750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soh/src/overlays/actors/ovl_En_Kz/z_en_kz.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void func_80A9CB18(EnKz* this, PlayState* play) {
yaw -= this->actor.shape.rot.y;
if ((fabsf(yaw) > 1638.0f) || (this->actor.xzDistToPlayer < 265.0f)) {
this->actor.flags &= ~ACTOR_FLAG_TARGETABLE;
return 0;
return;
}

this->actor.flags |= ACTOR_FLAG_TARGETABLE;
Expand Down

0 comments on commit 1b51750

Please sign in to comment.