fixes for maps and quality = 0 0.9.15
authorkoda
Sat, 22 Jan 2011 01:38:01 +0100
branch0.9.15
changeset 4765 adef9ec50d63
parent 4762 59eb6319c950
child 4768 d00562929f28
fixes for maps and quality = 0
hedgewars/uStore.pas
share/hedgewars/Data/Maps/Blizzard/map.png
share/hedgewars/Data/Maps/Blizzard/mask.png
--- a/hedgewars/uStore.pas	Thu Jan 20 21:12:50 2011 +0300
+++ b/hedgewars/uStore.pas	Sat Jan 22 01:38:01 2011 +0100
@@ -274,7 +274,7 @@
 for ii:= Low(TSprite) to High(TSprite) do
     with SpritesData[ii] do
         // FIXME - add a sprite attribute
-        if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet])) then // FIXME: hack
+        if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet]) or (((Theme = 'Snow') or (Theme = 'Christmas')) and (ii = sprFlake))) then // FIXME: hack
         begin
             if AltPath = ptNone then
                 if ii in [sprHorizontL, sprHorizontR, sprSkyL, sprSkyR] then // FIXME: hack
Binary file share/hedgewars/Data/Maps/Blizzard/map.png has changed
Binary file share/hedgewars/Data/Maps/Blizzard/mask.png has changed