hedgewars/hwengine.pas
changeset 3922 44804043b691
parent 3914 c5c903c6225b
child 3928 2560731c860d
--- a/hedgewars/hwengine.pas	Fri Oct 01 13:56:11 2010 -0400
+++ b/hedgewars/hwengine.pas	Sat Oct 02 04:23:32 2010 +0200
@@ -219,15 +219,15 @@
     cShowFPS:= false;    // update me at release time
 {$ENDIF}
     val(gameArgs[0], ipcPort);
-    val(gameArgs[1], cScreenHeight);
-    val(gameArgs[2], cScreenWidth);
+    val(gameArgs[1], cScreenWidth);
+    val(gameArgs[2], cScreenHeight);
     val(gameArgs[3], cReducedQuality);
     cLocaleFName:= gameArgs[4];
     UserNick:= gameArgs[5];
     isSoundEnabled:= gameArgs[6] = '1';
     isMusicEnabled:= gameArgs[7] = '1';
     cAltDamage:= gameArgs[8] = '1';
-    //gameArgs[9] unused
+    val(gameArgs[9], rotationQt);
     recordFileName:= gameArgs[10];
 {$ENDIF}