hedgewars/uInputHandler.pas
changeset 11664 64465e0eb852
parent 11486 2b30283a402c
child 11699 83c40c1eb0e7
child 12106 9bc19f722169
--- a/hedgewars/uInputHandler.pas	Sat Apr 23 09:54:05 2016 +0200
+++ b/hedgewars/uInputHandler.pas	Sat Apr 23 10:48:18 2016 +0200
@@ -318,7 +318,7 @@
     DefaultBinds[KeyNameToCode('j0a0d')]:= '+right';
     DefaultBinds[KeyNameToCode('j0a1u')]:= '+up';
     DefaultBinds[KeyNameToCode('j0a1d')]:= '+down';
-    for i:= 1 to 10 do DefaultBinds[KeyNameToCode('f'+IntToStr(i))]:= 'slot '+IntToStr(i);
+    for i:= 1 to 10 do DefaultBinds[KeyNameToCode('f'+IntToStr(i))]:= 'slot '+char(48+i);
     for i:= 1 to 5  do DefaultBinds[KeyNameToCode(IntToStr(i))]:= 'timer '+IntToStr(i);
 
     loadBinds('dbind', cPathz[ptData] + '/settings.ini');