hedgewars/hwengine.pas
branchexperimental3D
changeset 3694 3e9c0634065c
parent 3690 c247dee9e1c0
child 3696 6009d8378422
--- a/hedgewars/hwengine.pas	Mon Aug 02 12:24:06 2010 +0200
+++ b/hedgewars/hwengine.pas	Mon Aug 02 15:05:56 2010 +0200
@@ -457,17 +457,8 @@
             cAltDamage:= ParamStr(15) = '1';
             UserNick:= DecodeBase64(ParamStr(16));
             isMusicEnabled:= ParamStr(17) = '1';
+            val(ParamStr(18), cReducedQuality);
             isStereoEnabled:= ParamStr(19) = '1';
-
-            if (ParamStr(18) = '1') then        //HACK - always disable rqLowRes as it's a game breaker
-                cReducedQuality:= $FFFFFFFF xor rqLowRes
-            else
-                val(ParamStr(18), cReducedQuality);
-            
-            if (ParamStr(8) = '0') then         //HACK - ifcVSyncInUse not true, disable it
-                cReducedQuality:= cReducedQuality xor rqDesyncVBlank;
-            if (ParamStr(9) = '0') then         //HACK - if cWeaponTooltips not true, disable it
-                cReducedQuality:= cReducedQuality xor rqTooltipsOff;
         end;
         3: begin
             val(ParamStr(2), ipcPort);