diff options
Diffstat (limited to 'collision_system.c')
-rw-r--r-- | collision_system.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/collision_system.c b/collision_system.c index a5342d2..6d8368c 100644 --- a/collision_system.c +++ b/collision_system.c @@ -67,6 +67,8 @@ static void handle_bullet_vs_enemy( e->hp--; destroy_entity(world, bullet); new_player_bullet_explosion(world, pos->x, pos->y); + + play_beep(50, 500); } static void handle_bullet_vs_solid( @@ -86,6 +88,8 @@ static void handle_bullet_vs_solid( new_player_bullet_explosion(world, pos->x, pos->y); } + play_beep(50, 100); + destroy_entity(world, bullet); } |