# HG changeset patch # User Wuzzy # Date 1544472397 -3600 # Node ID 70fe783d05486a97d8baf7a8950ea517af1cf7bd # Parent 71359339a493e2bef73d34c6f58f8c677c43455b Remove debugging code diff -r 71359339a493 -r 70fe783d0548 hedgewars/uInputHandler.pas --- a/hedgewars/uInputHandler.pas Mon Dec 10 21:04:37 2018 +0100 +++ b/hedgewars/uInputHandler.pas Mon Dec 10 21:06:37 2018 +0100 @@ -500,20 +500,15 @@ {$ELSE} var i, code: LongInt; begin - WriteLnToConsole('Check'); for i:=1 to cMaxSlotIndex do begin code:= KeyNameToCode('f'+IntToStr(i)); - WriteLnToConsole('f'+IntToStr(i)); - WriteLnToConsole(CurrentBinds.binds[CurrentBinds.indices[code]]); if CurrentBinds.binds[CurrentBinds.indices[code]] <> 'slot '+char(i+48) then begin - WriteLnToConsole('false'); CheckDefaultSlotKeys:= false; exit; end; end; - WriteLnToConsole('true'); CheckDefaultSlotKeys:= true; {$ENDIF} end;