aboutsummaryrefslogtreecommitdiff
path: root/player.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 18:37:10 +1000
committerquou <quou@disroot.org>2023-05-07 18:37:10 +1000
commit97e79598aa3fbbf7e7b69894964ccb232dfc0347 (patch)
tree4b176682b581148fab1e05f0fb8378c76f55800b /player.c
parent955f6ae56cdd3b20eabb44e7c9b931bdb17c2b3e (diff)
Add more sound effects.
Diffstat (limited to 'player.c')
-rw-r--r--player.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player.c b/player.c
index dbd318d..97c3573 100644
--- a/player.c
+++ b/player.c
@@ -173,6 +173,8 @@ void player_take_damage(
if (player->invul) { return; }
+ play_beep(70, 1000);
+
player->hp -= dmg;
player->invul = player_invul_frames;
player->invul_counter = 0;