diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-22 19:22:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-22 19:22:34 +0100 |
commit | 953381e5c1c9ebecc2f43ae0065b0cb381a85cb0 (patch) | |
tree | ae245f1eb4be9041f8233b22f6d8eb8e651cdd58 /src/ft_switch_weapons.c | |
parent | Now regimp and sound (diff) | |
download | 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.gz 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.bz2 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.xz 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.zst 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.zip |
Bug fixes, now gimp and sound
Diffstat (limited to 'src/ft_switch_weapons.c')
-rw-r--r-- | src/ft_switch_weapons.c | 8 |
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); +} |