Couple more, add back misplaced clearing of Land
authornemo
Sat, 08 Oct 2011 00:34:41 -0400
changeset 6097 db10abae541f
parent 6096 a00dbbf49d6c
child 6098 959219241c67
Couple more, add back misplaced clearing of Land
hedgewars/uLandGraphics.pas
share/hedgewars/Data/Maps/Cave/CMakeLists.txt
share/hedgewars/Data/Maps/Cave/mask.png
share/hedgewars/Data/Maps/Cheese/CMakeLists.txt
share/hedgewars/Data/Maps/Cheese/mask.png
--- a/hedgewars/uLandGraphics.pas	Fri Oct 07 23:57:14 2011 -0400
+++ b/hedgewars/uLandGraphics.pas	Sat Oct 08 00:34:41 2011 -0400
@@ -591,7 +591,8 @@
             if ((Land[ty, tx] and lfBasic) <> 0) and (((LandPixels[by,bx] and AMask) shr AShift) = 255) and not disableLandBack then
                 LandPixels[by, bx]:= LandBackPixel(tx, ty)
             else if ((Land[ty, tx] and lfObject) <> 0) or (((LandPixels[by,bx] and AMask) shr AShift) < 255) then
-                LandPixels[by, bx]:= 0
+                LandPixels[by, bx]:= 0;
+            Land[ty, tx]:= 0;
             end
         end;
     for t:= 0 to 7 do
--- a/share/hedgewars/Data/Maps/Cave/CMakeLists.txt	Fri Oct 07 23:57:14 2011 -0400
+++ b/share/hedgewars/Data/Maps/Cave/CMakeLists.txt	Sat Oct 08 00:34:41 2011 -0400
@@ -1,5 +1,6 @@
 install(FILES
 	map.png
+	mask.png
 	map.cfg
 	preview.png
 	DESTINATION ${SHAREPATH}Data/Maps/Cave)
Binary file share/hedgewars/Data/Maps/Cave/mask.png has changed
--- a/share/hedgewars/Data/Maps/Cheese/CMakeLists.txt	Fri Oct 07 23:57:14 2011 -0400
+++ b/share/hedgewars/Data/Maps/Cheese/CMakeLists.txt	Sat Oct 08 00:34:41 2011 -0400
@@ -1,5 +1,6 @@
 install(FILES
 	map.png
+	mask.png
 	map.cfg
 	preview.png
 	DESTINATION ${SHAREPATH}Data/Maps/Cheese)
Binary file share/hedgewars/Data/Maps/Cheese/mask.png has changed