src/town.cpp
branchgamebalance
changeset 9911 0b8b245a2391
parent 9903 dc85aaa556ae
--- a/src/town.cpp	Wed Jun 13 11:17:30 2007 +0000
+++ b/src/town.cpp	Wed Jun 13 11:45:14 2007 +0000
@@ -32,7 +32,7 @@
 	/* We do have a tile that directly belongs to a town */
 	if (IsTileType(tile, MP_HOUSE) ||
 			(IsTileType(tile, MP_STREET) &&
-			(IsLevelCrossing(tile) ? GetCrossingRoadOwner(tile) : GetTileOwner(tile)) == OWNER_TOWN)) {
+			(GetTileOwner(tile)) == OWNER_TOWN)) { /** @todo check this for level crossings, trams, etc */
 		t = GetTownByTile(tile);
 		group = t->GetRadiusGroup(tile, true) + 1;
 		DEBUG(eco, 6, "Tile 0x%x belongs to town at 0x%x, level %d", tile, t->xy, group);