summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 02fbb0d..0f5597c 100644
--- a/src/game.c
+++ b/src/game.c
@@ -448,7 +448,7 @@ static void infect_entity(game_t *game, entity_t *entity, const char *name)
static void hat_baby(game_t *game, baby_t *baby, mask_t *mask)
{
(void) baby_hatted_node_new(&(stage_conf_t){ .stage = baby->entity.node, .replace = 1, .name = "baby-hatted", .active = 1, .alpha = 1.f }, &game->sars->projection_x, &baby->entity.model_x);
- sfx_play(&sfx.baby_hatted, 1.f);
+ sfx_play(&sfx.baby_hatted, entity_volume(game, &baby->entity));
stage_set_active(mask->entity.node, 0);
}
© All Rights Reserved