hedgewars/uStore.pas
changeset 2240 7ce9e6b7be3b
parent 2230 d6963f72d21a
child 2244 853a1db1cff6
--- 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