From 953381e5c1c9ebecc2f43ae0065b0cb381a85cb0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 19:22:34 +0100 Subject: Bug fixes, now gimp and sound --- src/ft_key_events.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ft_key_events.c') diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 52ef477..8ea5b90 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -43,6 +43,9 @@ int else if (keycode == FT_TWO_KEY && clist->plist.fire == 0 && clist->plist.has_weapon[1] == 1 && clist->plist.handles_weapon != 2) return (ft_switch_weap_two(clist)); + else if (keycode == FT_THREE_KEY && clist->plist.fire == 0 + && clist->plist.has_weapon[2] == 1 && clist->plist.handles_weapon != 4) + return (ft_switch_weap_three(clist)); ft_insert_key(keycode, clist); return (0); } -- cgit v1.2.3