hedgewars/uLandObjects.pas
changeset 2603 abed6070a669
parent 2602 3deb9ff104da
child 2630 079ef82eac75
--- a/hedgewars/uLandObjects.pas	Thu Nov 05 20:47:42 2009 +0000
+++ b/hedgewars/uLandObjects.pas	Thu Nov 05 20:48:13 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_OBJECT;
+			if (p^[x] and AMask) <> 0 then Land[cpY + y, cpX + x]:= COLOR_LAND;
 			end;
 	p:= @(p^[Image^.pitch shr 2]);
 	end;