hedgewars/uStore.pas
branchhedgeroid
changeset 6025 cac1d5601d7c
parent 6023 a28be05b20bc
child 6224 42b256eca362
equal deleted inserted replaced
6023:a28be05b20bc 6025:cac1d5601d7c
   288            (((cReducedQuality and rqKillFlakes) = 0) or (Theme = 'Snow') or (Theme = 'Christmas') or ((not (ii in [sprFlake, sprSDFlake])))) and
   288            (((cReducedQuality and rqKillFlakes) = 0) or (Theme = 'Snow') or (Theme = 'Christmas') or ((not (ii in [sprFlake, sprSDFlake])))) and
   289            ((cCloudsNumber > 0) or (ii <> sprCloud)) and
   289            ((cCloudsNumber > 0) or (ii <> sprCloud)) and
   290            ((vobCount > 0) or (ii <> sprFlake)) then
   290            ((vobCount > 0) or (ii <> sprFlake)) then
   291         begin
   291         begin
   292             if AltPath = ptNone then
   292             if AltPath = ptNone then
   293                 if ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk] then // FIXME: hack
   293                 if ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk, sprFireButton] then // FIXME: hack
   294                     begin
   294                     begin
   295                     if not reload then
   295                     if not reload then
   296                         begin
   296                         begin
   297                         tmpsurf:= LoadImage(UserPathz[Path] + '/' + FileName, ifAlpha or ifTransparent);
   297                         tmpsurf:= LoadImage(UserPathz[Path] + '/' + FileName, ifAlpha or ifTransparent);
   298                         if tmpsurf = nil then tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent)
   298                         if tmpsurf = nil then tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent)