aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_switch_weapons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_switch_weapons.c')
-rw-r--r--src/ft_switch_weapons.c8
1 files changed, 8 insertions, 0 deletions
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);
+}