summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-27 17:27:10 -0400
committerarngo <[email protected]>2023-05-27 17:27:10 -0400
commit6a6a9ff8f989896fa7af7132d50b116a07e6b44c (patch)
tree8ba08bf3a8c872071f85cab0ae869c87fb999d77 /src
parent6b433bcfcd3ee0f29aee1c8527faad0382f18e46 (diff)
downloadTOJam2023-6a6a9ff8f989896fa7af7132d50b116a07e6b44c.tar.gz
TOJam2023-6a6a9ff8f989896fa7af7132d50b116a07e6b44c.zip
check enemy bullet-wall collisions as well
Diffstat (limited to 'src')
-rw-r--r--src/bullet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bullet.c b/src/bullet.c
index 89572dc..cfb12bf 100644
--- a/src/bullet.c
+++ b/src/bullet.c
@@ -164,4 +164,5 @@ void
detect_bullet_wall_collisions(void)
{
rodeo_collision_2d_world_compare_other(&player_bullet_collision_world, get_wall_world(), bullet_wall_resolver);
+ rodeo_collision_2d_world_compare_other(&enemy_bullet_collision_world, get_wall_world(), bullet_wall_resolver);
}