hedgewars/hwengine.dpr
changeset 1128 9b3f42bf4eef
parent 1127 7e1b94a0fc1f
child 1524 5a652a465559
--- a/hedgewars/hwengine.dpr	Sun Jul 27 21:58:46 2008 +0000
+++ b/hedgewars/hwengine.dpr	Sun Jul 27 22:09:40 2008 +0000
@@ -184,7 +184,7 @@
 {$ENDIF}
 
 case ParamCount of
-14: begin
+15: begin
      val(ParamStr(2), cScreenWidth);
      val(ParamStr(3), cScreenHeight);
      cInitWidth:= cScreenWidth;
@@ -201,6 +201,7 @@
      cShowFPS:= ParamStr(12) = '1';
      cAltDamage:= ParamStr(13) = '1';
      UserNick:= DecodeBase64(ParamStr(14));
+     isMusicEnabled:= ParamStr(15) = '1';
      for p:= Succ(Low(TPathType)) to High(TPathType) do
          if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p]
      end;