hedgewars/uLandObjects.pas
changeset 2602 3deb9ff104da
parent 2599 c7153d2348f3
child 2603 abed6070a669
--- a/hedgewars/uLandObjects.pas	Thu Nov 05 20:40:31 2009 +0000
+++ b/hedgewars/uLandObjects.pas	Thu Nov 05 20:47:42 2009 +0000
@@ -90,7 +90,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;