having ctrl+w close the engine is just mean... many WASD players think the game crashes all the time because of that - since they close it by accident again and again...
authorsheepluva
Thu, 27 Oct 2011 02:47:05 +0200
changeset 6216 a6186a8ba90a
parent 6215 efe2e2f7cabf
child 6217 ef53ba841791
having ctrl+w close the engine is just mean... many WASD players think the game crashes all the time because of that - since they close it by accident again and again...
hedgewars/uKeys.pas
--- a/hedgewars/uKeys.pas	Wed Oct 26 11:50:03 2011 +0200
+++ b/hedgewars/uKeys.pas	Thu Oct 27 02:47:05 2011 +0200
@@ -129,7 +129,7 @@
     end;
 {$ENDIF}
 
-// ctrl/cmd + w/q to close engine and/or frontend
+// ctrl/cmd + q to close engine and frontend
 {$IFDEF DARWIN}
     if ((tkbdn[KeyNameToCode('left_meta')] = 1) or (tkbdn[KeyNameToCode('right_meta')] = 1)) then
 {$ELSE}
@@ -137,7 +137,6 @@
 {$ENDIF}
     begin
         if tkbdn[KeyNameToCode('q')] = 1 then ParseCommand ('halt', true)
-        else if tkbdn[KeyNameToCode('w')] = 1 then ParseCommand ('forcequit', true);
     end;
 
 // now process strokes