hedgewars/uLand.pas
changeset 5775 49c5a490f230
parent 5770 022a18320f01
child 5824 2e5835130d9a
child 5832 f730c8a9777b
--- a/hedgewars/uLand.pas	Sun Sep 04 13:54:24 2011 -0400
+++ b/hedgewars/uLand.pas	Sun Sep 04 14:05:11 2011 -0400
@@ -1139,7 +1139,7 @@
     begin
     mapName:= ExtractFileName(Pathz[ptMapCurrent]);
     tmpsurf:= LoadImage(UserPathz[ptMissionMaps] + '/' + mapName + '/mask', ifAlpha or ifTransparent or ifIgnoreCaps);
-    if tmpsurf = nil then tmpsurf:= LoadImage(Pathz[ptMissionMaps] + '/' + mapName + '/mask', ifAlpha or ifCritical or ifTransparent or ifIgnoreCaps);
+    if tmpsurf = nil then tmpsurf:= LoadImage(Pathz[ptMissionMaps] + '/' + mapName + '/mask', ifAlpha or ifTransparent or ifIgnoreCaps);
     end;
 
     if (tmpsurf <> nil) and (tmpsurf^.w <= LAND_WIDTH) and (tmpsurf^.h <= LAND_HEIGHT) and (tmpsurf^.format^.BytesPerPixel = 4) then