hedgewars/uInputHandler.pas
changeset 12795 abc9a99418cc
parent 12626 d972b31f8881
child 12860 1b2b84315d27
child 12871 13143137c2ff
child 13002 f06660523198
--- a/hedgewars/uInputHandler.pas	Sat Oct 28 04:53:21 2017 +0200
+++ b/hedgewars/uInputHandler.pas	Sat Oct 28 05:49:49 2017 +0200
@@ -173,7 +173,7 @@
     begin
     if (code < cKeyMaxIndex - 2) // means not mouse buttons
         and KeyDown
-        and (not ((CurrentBinds[code] = 'put')) or (CurrentBinds[code] = 'ammomenu') or (CurrentBinds[code] = '+cur_u') or (CurrentBinds[code] = '+cur_d') or (CurrentBinds[code] = '+cur_l') or (CurrentBinds[code] = '+cur_r')) 
+        and (not ((CurrentBinds[code] = 'put') or (CurrentBinds[code] = 'ammomenu') or (CurrentBinds[code] = '+cur_u') or (CurrentBinds[code] = '+cur_d') or (CurrentBinds[code] = '+cur_l') or (CurrentBinds[code] = '+cur_r')))
         and (CurrentTeam <> nil) 
         and (not CurrentTeam^.ExtDriven) 
         then bShowAmmoMenu:= false;