aboutsummaryrefslogtreecommitdiff
path: root/player.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 17:09:58 +1000
committerquou <quou@disroot.org>2023-05-07 17:09:58 +1000
commit955f6ae56cdd3b20eabb44e7c9b931bdb17c2b3e (patch)
tree62f5dc92a675a5fdc48a0474d11d229cb5f2780d /player.c
parent1867e71ac2870f904e0856fd3b093abed6e8a58b (diff)
Basic music and sound.
Diffstat (limited to 'player.c')
-rw-r--r--player.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player.c b/player.c
index 9075048..dbd318d 100644
--- a/player.c
+++ b/player.c
@@ -6,6 +6,7 @@
#include "game_config.h"
#include "input.h"
#include "player.h"
+#include "sound.h"
#include "standard.h"
#include "world.h"
@@ -132,6 +133,8 @@ void update_player(Player* player, World* world) {
100
);
+ play_beep(30, 1000);
+
player->shoot_countdown = player->shoot_cooldown;
}