hedgewars/uLandObjects.pas
changeset 2647 0e1208e92dfe
parent 2630 079ef82eac75
child 2671 7e0f88013fe8
--- a/hedgewars/uLandObjects.pas	Sun Nov 29 16:37:12 2009 +0000
+++ b/hedgewars/uLandObjects.pas	Sun Nov 29 16:56:04 2009 +0000
@@ -91,7 +91,7 @@
 		if LandPixels[cpY + y, cpX + x] = 0 then
 			begin
 			LandPixels[cpY + y, cpX + x]:= p^[x];
-			if (p^[x] and AMask) <> 0 then Land[cpY + y, cpX + x]:= COLOR_LAND;
+			if (p^[x] and AMask) <> 0 then Land[cpY + y, cpX + x]:= COLOR_OBJECT;
 			end;
 	p:= @(p^[Image^.pitch shr 2]);
 	end;