hedgewars/hwengine.dpr
changeset 174 0b2c5b22f644
parent 167 805fa9a27e9e
child 183 57c2ef19f719
--- a/hedgewars/hwengine.dpr	Tue Sep 26 20:25:42 2006 +0000
+++ b/hedgewars/hwengine.dpr	Wed Sep 27 20:13:29 2006 +0000
@@ -185,7 +185,7 @@
     AddFileLog(inttostr(i) + ': ' + ParamStr(i));
 {$ENDIF}
 case ParamCount of
-  7: begin
+  8: begin
      val(ParamStr(1), cScreenWidth, c);
      val(ParamStr(2), cScreenHeight, c);
      cBitsStr:= ParamStr(3);
@@ -194,6 +194,7 @@
      cFullScreen:= ParamStr(5) = '1';
      isSoundEnabled:= ParamStr(6) = '1';
      cLocaleFName:= ParamStr(7);
+     val(ParamStr(8), cInitVolume, c);
      end;
   2: begin
      val(ParamStr(1), ipcPort, c);