forked from mirror/OpenTTD
(svn r16101) -Cleanup (r14591): Remove an assertion to increase performance.
This commit is contained in:
@@ -2612,7 +2612,6 @@ Town *ClosestTownFromTile(TileIndex tile, uint threshold)
|
||||
|
||||
Town *town = GetTown(tid);
|
||||
assert(town->IsValid());
|
||||
assert(town == CalcClosestTownFromTile(tile));
|
||||
|
||||
if (DistanceManhattan(tile, town->xy) >= threshold) town = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user