copy/paste fail
authornemo
Sun, 04 Sep 2011 14:05:11 -0400
changeset 5775 49c5a490f230
parent 5774 8512b9758f67
child 5776 9c097391d8f9
copy/paste fail
hedgewars/uLand.pas
--- 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