mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r16101) -Cleanup (r14591): Remove an assertion to increase performance.
This commit is contained in:
parent
d18cea5369
commit
f0a4bbda6d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user