diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-24 11:55:06 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-24 11:55:06 +0100 |
| commit | eefc69b2c3816ed4c97bf976b7373175b8e7343d (patch) | |
| tree | bf4b146e2667daacc7d5c838ee96c170966b306e /src/zombies.c | |
| parent | ff3de32a164619ee1599c4f43600872f6cf955c4 (diff) | |
auudio
Diffstat (limited to 'src/zombies.c')
| -rw-r--r-- | src/zombies.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
