summaryrefslogtreecommitdiff
path: root/src/bullets.c
diff options
context:
space:
mode:
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});
}
}
}