--- a/hedgewars/uStore.pas Tue Jul 07 15:24:43 2009 +0000
+++ b/hedgewars/uStore.pas Tue Jul 07 21:48:55 2009 +0000
@@ -281,7 +281,11 @@
if (not cReducedQuality) or ((ii <> sprSky) and (ii <> sprHorizont) and (ii <> sprFlake)) then
begin
if AltPath = ptNone then
+{$IFDEF IPHONEOS}
+ tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent)
+{$ELSE}
tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifCritical or ifTransparent)
+{$ENDIF}
else begin
tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent);
if tmpsurf = nil then