cosmetic disabling of clouds with sea edges and underwater theme
authornemo
Sat, 25 Oct 2014 15:17:02 -0400
changeset 10445 dac3bfb3a2b1
parent 10443 42dadeb6e8ae
child 10447 139cb2c9e9f6
cosmetic disabling of clouds with sea edges and underwater theme
hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Sat Oct 25 11:29:45 2014 -0400
+++ b/hedgewars/hwengine.pas	Sat Oct 25 15:17:02 2014 -0400
@@ -74,7 +74,9 @@
             SetDefaultBinds;
             if HasBorder then
                 DisableSomeWeapons;
-            AddClouds;
+            // wave "clouds" on underwater theme look weird w/ weSea, esp the blended bottom portion
+            if (WorldEdge <> weSea) or (Theme <> 'Underwater') then
+                AddClouds;
             AddFlakes;
             SetRandomSeed(cSeed, false);
             AssignHHCoords;