(svn r20643) -Fix (r20641): != != ==

This commit is contained in:
rubidium 2010-08-27 22:51:16 +00:00
parent 0d8091a7c3
commit 2c1ffd79f1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {