1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00

(svn r16101) -Cleanup (r14591): Remove an assertion to increase performance.

This commit is contained in:
frosch
2009-04-20 17:42:14 +00:00
parent d18cea5369
commit f0a4bbda6d

View File

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