diff options
author | tron <tron@openttd.org> | 2005-06-08 09:03:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-08 09:03:29 +0000 |
commit | aab5561c550c3a17ee983c44456ea659cf471be8 (patch) | |
tree | 0f9be1cf6d459093d340f2f22eb7cecae8935cd6 /town_cmd.c | |
parent | c37cf285cefa69d09a50f3e5b609798766173d5b (diff) | |
download | openttd-aab5561c550c3a17ee983c44456ea659cf471be8.tar.xz |
(svn r2434) Fix some defects in r2433
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index e659033d9..afe80e2b4 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1841,7 +1841,7 @@ Town *ClosestTownFromTile(uint tile, uint threshold) // XXX - Fix this so for a given tiletype the owner of the type is in the same variable if (IsTileType(tile, MP_HOUSE) || ( IsTileType(tile, MP_STREET) && - (IsLevelCrossing(tile) ? _map3_lo[tile] == OWNER_TOWN : GetTileOwner(tile)) + (IsLevelCrossing(tile) ? _map3_lo[tile] : GetTileOwner(tile)) == OWNER_TOWN )) return GetTown(_map2[tile]); |