--- 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;