From ab5b0ceff219a2b12253dbd3e008cf4551608b8a Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Aug 2010 14:14:06 +0000 Subject: (svn r20446) -Codechange: unify the location of the water class --- src/object_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object_cmd.cpp') diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index 8a97ba310..4457b8459 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -53,7 +53,7 @@ void BuildObject(ObjectType type, TileIndex tile, CompanyID owner, uint index) TileArea ta(tile, GB(spec->size, 0, 4), GB(spec->size, 4, 4)); TILE_AREA_LOOP(t, ta) { TileIndex offset = t - tile; - MakeObject(t, type, owner, TileY(offset) << 4 | TileX(offset), index); + MakeObject(t, type, owner, TileY(offset) << 4 | TileX(offset), index, WATER_CLASS_INVALID); MarkTileDirtyByTile(t); } } -- cgit v1.2.3-54-g00ecf