hedgewars/uStore.pas
changeset 12706 79e13080b9db
parent 12626 d972b31f8881
child 12716 20dbb3a03e61
equal deleted inserted replaced
12705:16fcd59295e3 12706:79e13080b9db
   411             else
   411             else
   412                 begin
   412                 begin
   413                 imflags := (ifAlpha or ifColorKey);
   413                 imflags := (ifAlpha or ifColorKey);
   414 
   414 
   415                 // these sprites are optional
   415                 // these sprites are optional
   416                 if not (ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk, sprFlakeL, sprSDFlakeL, sprCloudL, sprSDCloudL]) then // FIXME: hack
   416                 if critical then 
   417                     imflags := (imflags or ifCritical);
   417                     imflags := (imflags or ifCritical);
   418 
   418 
   419                 // load the image
   419                 // load the image
   420                 tmpsurf := LoadDataImageAltPath(Path, AltPath, FileName, imflags)
   420                 tmpsurf := LoadDataImageAltPath(Path, AltPath, FileName, imflags)
   421                 end;
   421                 end;