changeset 15955:a1603ce88b25 draft

(svn r20643) -Fix (r20641): != != ==
author rubidium <rubidium@openttd.org>
date Fri, 27 Aug 2010 22:51:16 +0000
parents 608d57c628ec
children cc4575d99aa1
files src/object_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/object_cmd.cpp
+++ b/src/object_cmd.cpp
@@ -134,7 +134,7 @@
 	int size_y = GB(spec->size, 4, 4);
 	TileArea ta(tile, size_x, size_y);
 
-	if (type != OBJECT_OWNED_LAND) {
+	if (type == OBJECT_OWNED_LAND) {
 		/* Owned land is special as it can be placed on any slope. */
 		cost.AddCost(DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR));
 	} else {