diff options
Diffstat (limited to 'src/ft_extra_keys.c')
-rw-r--r-- | src/ft_extra_keys.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c index e99b32f..a78f821 100644 --- a/src/ft_extra_keys.c +++ b/src/ft_extra_keys.c @@ -71,8 +71,10 @@ int int ft_space_key(t_cub *clist) { - /* TODO: ft_sfx_weapon_fire(3) */ if (clist->plist.fire == 0) + { + clist->sfx[clist->plist.handles_weapon + 7].sfx_play(clist->sfx); clist->plist.fire = 1; + } return (0); } |