hedgewars/uLandObjects.pas
changeset 1181 3ae244bffef9
parent 1180 e56317fdf78d
child 1182 e2e13aa055c1
--- a/hedgewars/uLandObjects.pas	Fri Aug 08 19:34:55 2008 +0000
+++ b/hedgewars/uLandObjects.pas	Fri Aug 08 19:39:22 2008 +0000
@@ -81,7 +81,7 @@
 for y:= 0 to Pred(Image^.h) do
 	begin
 	for x:= 0 to Pred(Image^.w) do
-		//if LandPixels[cpY + y, cpX + x] = 0 then
+		if LandPixels[cpY + y, cpX + x] = 0 then
 			begin
 			LandPixels[cpY + y, cpX + x]:= PLongword(@(p^[x * 4]))^;
 			if (PLongword(@(p^[x * 4]))^ and $FF000000) <> 0 then Land[cpY + y, cpX + x]:= COLOR_LAND;