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