mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 04:50:05 -07:00
remove a return 0 (#4347)
This commit is contained in:
parent
e75400a646
commit
1b51750ec0
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ void func_80A9CB18(EnKz* this, PlayState* play) {
|
||||||
yaw -= this->actor.shape.rot.y;
|
yaw -= this->actor.shape.rot.y;
|
||||||
if ((fabsf(yaw) > 1638.0f) || (this->actor.xzDistToPlayer < 265.0f)) {
|
if ((fabsf(yaw) > 1638.0f) || (this->actor.xzDistToPlayer < 265.0f)) {
|
||||||
this->actor.flags &= ~ACTOR_FLAG_TARGETABLE;
|
this->actor.flags &= ~ACTOR_FLAG_TARGETABLE;
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->actor.flags |= ACTOR_FLAG_TARGETABLE;
|
this->actor.flags |= ACTOR_FLAG_TARGETABLE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue