remove a return 0 (#4347)

This commit is contained in:
Pepper0ni 2024-09-17 16:26:10 +01:00 committed by GitHub
parent e75400a646
commit 1b51750ec0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;