aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_find_item.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_find_item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_find_item.c b/src/ft_find_item.c
index 7332e19..b55e9d9 100644
--- a/src/ft_find_item.c
+++ b/src/ft_find_item.c
@@ -42,7 +42,7 @@ static void
cl->weaps[weap_id][0].s_pos_y = 0;
pl->has_weapon[weap_id] = 1;
pl->handles_weapon = (weap_id == 1) ? (2) : (weap_id);
- /* TODO: ft_sfx_weapon(3) */
+ cl->sfx[((weap_id == 1) ? (2) : (weap_id)) + 6].sfx_play(cl->sfx);
}
}
@@ -63,7 +63,7 @@ void
(uint64_t)pl->pos_x, cl);
cl->heals[id].s_pos_x = 0;
cl->heals[id].s_pos_y = 0;
- /* TODO: ft_sfx_heal(3) */
+ cl->sfx[5].sfx_play(cl->sfx);
}
ft_weapon_check(map_char, pl, cl);
}