changeset 12158 | 4d1250ca68ac |
parent 11941 | 7ece39a537bd |
child 12175 | 9237bfb198c7 |
12157:e837912ba85d | 12158:4d1250ca68ac |
---|---|
404 else |
404 else |
405 begin |
405 begin |
406 imflags := (ifAlpha or ifTransparent); |
406 imflags := (ifAlpha or ifTransparent); |
407 |
407 |
408 // these sprites are optional |
408 // these sprites are optional |
409 if not (ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk]) then // FIXME: hack |
409 if not (ii in [sprHorizont, sprHorizontL, sprHorizontR, sprSky, sprSkyL, sprSkyR, sprChunk, sprFlakeL, sprSDFlakeL, sprCloudL, sprSDCloudL]) then // FIXME: hack |
410 imflags := (imflags or ifCritical); |
410 imflags := (imflags or ifCritical); |
411 |
411 |
412 // load the image |
412 // load the image |
413 tmpsurf := LoadDataImageAltPath(Path, AltPath, FileName, imflags) |
413 tmpsurf := LoadDataImageAltPath(Path, AltPath, FileName, imflags) |
414 end; |
414 end; |