From 267d348e71d4a170ed6c0cca7426bca5b79d3356 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 19 Mar 2020 18:30:02 +0100 Subject: It's going well --- src/ft_key_events.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 317715d..edacc42 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -36,6 +36,8 @@ int return (ft_exit(0, (clist))); else if (keycode == FT_F1_KEY || keycode == FT_TAB_KEY) return (ft_f1_key(clist)); + else if (keycode == FT_SPC_KEY && clist->plist.handles_weapon > -1) + return (ft_space_key(clist)); ft_insert_key(keycode, clist); return (0); } -- cgit v1.2.3