add F1-F10 to the default binds to fix weapon selection in trainings/missions and such
authornemo
Fri, 05 Nov 2010 14:49:44 -0400
changeset 4131 e89d11f6361c
parent 4130 f437909ac9d4
child 4132 ca33a3737064
child 4133 cd0435def5e8
add F1-F10 to the default binds to fix weapon selection in trainings/missions and such
hedgewars/uKeys.pas
--- a/hedgewars/uKeys.pas	Fri Nov 05 14:14:32 2010 -0400
+++ b/hedgewars/uKeys.pas	Fri Nov 05 14:49:44 2010 -0400
@@ -350,6 +350,8 @@
 DefaultBinds[KeyNameToCode('left_shift')]:= '+precise';
 {$ENDIF}
 
+for i:= 1 to 10 do DefaultBinds[KeyNameToCode('f'+inttostr(i))]:= 'slot '+inttostr(i);
+
 SetDefaultBinds();
 end;