diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_key_events.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |