summaryrefslogtreecommitdiff
path: root/src/bullets.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 16:27:07 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 16:27:07 +0200
commitf2522c04446bb4bd597a8625f9398e67ff957565 (patch)
treebd5e7506a434978296397b9d0a0e95bf3ae04d60 /src/bullets.c
parent1ac22220f6077b3367456384b4bb563f1c5c2d29 (diff)
more sounds
Diffstat (limited to 'src/bullets.c')
-rw-r--r--src/bullets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bullets.c b/src/bullets.c
index 728326e..f7f033d 100644
--- a/src/bullets.c
+++ b/src/bullets.c
@@ -248,6 +248,8 @@ void update_bullets_server(platform_window* window) {
bullets[i].endx = b.endx;
bullets[i].damage = b.damage;
b = bullets[i];
+
+ add_zombie_audio_event_to_queue(EVENT_IMPACT, ZOMBIE_TYPE_NORMAL, p->id, (vec3f){.x = p->playerx, .y = p->playery, .z = p->height});
}
}
}