From 2c1ffd79f171ab679277821f25a5013d66324984 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 27 Aug 2010 22:51:16 +0000 Subject: (svn r20643) -Fix (r20641): != != == --- src/object_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index fc891df54..a8e8e5e19 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -134,7 +134,7 @@ CommandCost CmdBuildObject(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 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 { -- cgit v1.2.3-54-g00ecf