summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/fox_beam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/fox_beam.c b/src/engine/fox_beam.c
index d6751bcc..ac4c7a16 100644
--- a/src/engine/fox_beam.c
+++ b/src/engine/fox_beam.c
@@ -654,7 +654,9 @@ bool PlayerShot_CheckPolyCollision(PlayerShot* shot, ObjectId objId, Object* obj
}
return false;
}
- // return false;
+ #ifdef AVOID_UB
+ return false;
+ #endif
}
void PlayerShot_ApplyDamageToActor(PlayerShot* shot, Actor* actor, s32 hitIndex) {