From 953381e5c1c9ebecc2f43ae0065b0cb381a85cb0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 19:22:34 +0100 Subject: Bug fixes, now gimp and sound --- src/ft_switch_weapons.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ft_switch_weapons.c') diff --git a/src/ft_switch_weapons.c b/src/ft_switch_weapons.c index 186f7be..c936ed6 100644 --- a/src/ft_switch_weapons.c +++ b/src/ft_switch_weapons.c @@ -28,3 +28,11 @@ int8_t cl->plist.handles_weapon = 2; return (0); } + +int8_t + ft_switch_weap_three(t_cub *cl) +{ + cl->sfx[10].sfx_play(cl->sfx); + cl->plist.handles_weapon = 4; + return (0); +} -- cgit v1.2.3