Unbreak reduce quality on snow/christmas. Thanks Cairo.
authornemo
Tue, 28 Dec 2010 19:05:58 -0500
changeset 4761 e73707bb99c0
parent 4758 73aef6a577ba
child 4764 674cdcf8b661
Unbreak reduce quality on snow/christmas. Thanks Cairo.
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Wed Dec 29 01:01:51 2010 +0100
+++ b/hedgewars/uStore.pas	Tue Dec 28 19:05:58 2010 -0500
@@ -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