equal
deleted
inserted
replaced
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; |