# HG changeset patch
# User nemo
# Date 1288982984 14400
# Node ID e89d11f6361caf31c270196fd952a997238e4583
# Parent  f437909ac9d422586ce1348cfbf08c41b424a917
add F1-F10 to the default binds to fix weapon selection in trainings/missions and such

diff -r f437909ac9d4 -r e89d11f6361c 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;