From eefc69b2c3816ed4c97bf976b7373175b8e7343d Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 24 Dec 2023 11:55:06 +0100 Subject: auudio --- src/zombies.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zombies.c') diff --git a/src/zombies.c b/src/zombies.c index 6bb4eb6..1006e95 100644 --- a/src/zombies.c +++ b/src/zombies.c @@ -54,6 +54,8 @@ bool hit_zombie(int index, int damage) { int chunk_count = rand() % 4 + 1; for (int c = 0; c < chunk_count; c++) spawn_zombie_chunk(center); + add_zombie_audio_event_to_queue(EVENT_ZOMBIESCREECH, zombies[index].type, zombies[index].position); + zombies[index].alive = false; spawn_drop(zombies[index].position); return true; -- cgit v1.2.3-70-g09d2