diff options
| author | arngo <[email protected]> | 2023-05-27 17:27:10 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-27 17:27:10 -0400 |
| commit | 6a6a9ff8f989896fa7af7132d50b116a07e6b44c (patch) | |
| tree | 8ba08bf3a8c872071f85cab0ae869c87fb999d77 | |
| parent | 6b433bcfcd3ee0f29aee1c8527faad0382f18e46 (diff) | |
| download | rodeo_sample_game-6a6a9ff8f989896fa7af7132d50b116a07e6b44c.tar.gz rodeo_sample_game-6a6a9ff8f989896fa7af7132d50b116a07e6b44c.zip | |
check enemy bullet-wall collisions as well
| -rw-r--r-- | src/bullet.c | 1 |
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); } |
