hedgewars/uLand.pas
changeset 2665 50b4e544c163
parent 2647 0e1208e92dfe
child 2692 ce9992075118
--- a/hedgewars/uLand.pas	Fri Dec 18 02:33:45 2009 +0000
+++ b/hedgewars/uLand.pas	Fri Dec 18 02:47:28 2009 +0000
@@ -704,7 +704,7 @@
                 Land[cpY + y, cpX + x]:= 0
             else if p^[x] = (AMask or RMask) then
                 Land[cpY + y, cpX + x]:= COLOR_INDESTRUCTIBLE
-            else if p^[x] = cWhiteColor then
+            else if p^[x] = $FFFFFFFF then
                 Land[cpY + y, cpX + x]:= COLOR_LAND;
 
             end;