summaryrefslogtreecommitdiff
path: root/src/bullets.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 11:55:06 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 11:55:06 +0100
commiteefc69b2c3816ed4c97bf976b7373175b8e7343d (patch)
treebf4b146e2667daacc7d5c838ee96c170966b306e /src/bullets.c
parentff3de32a164619ee1599c4f43600872f6cf955c4 (diff)
auudio
Diffstat (limited to 'src/bullets.c')
-rw-r--r--src/bullets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bullets.c b/src/bullets.c
index 6cb4b66..c8fc6e9 100644
--- a/src/bullets.c
+++ b/src/bullets.c
@@ -247,7 +247,7 @@ void update_bullets_server(platform_window* window) {
b = bullets[i];
add_points_to_player(p, POINTS_PER_HIT);
- add_zombie_audio_event_to_queue(EVENT_IMPACT, ZOMBIE_TYPE_NORMAL, p->id, (vec3f){.x = p->playerx, .y = p->playery, .z = p->height});
+ add_zombie_audio_event_to_queue(EVENT_IMPACT, ZOMBIE_TYPE_NORMAL, (vec3f){.x = p->playerx, .y = p->playery, .z = p->height});
}
}
}