hedgewars/uStore.pas
changeset 12701 79e13080b9db
parent 12621 d972b31f8881
child 12711 20dbb3a03e61
--- a/hedgewars/uStore.pas	Fri Oct 13 17:09:45 2017 +0200
+++ b/hedgewars/uStore.pas	Fri Oct 13 16:37:56 2017 -0400
@@ -413,7 +413,7 @@
                 imflags := (ifAlpha or ifColorKey);
 
                 // these sprites are optional
-                if not (ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk, sprFlakeL, sprSDFlakeL, sprCloudL, sprSDCloudL]) then // FIXME: hack
+                if critical then 
                     imflags := (imflags or ifCritical);
 
                 // load the image