summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-04-20 17:42:14 +0000
committerfrosch <frosch@openttd.org>2009-04-20 17:42:14 +0000
commitf0a4bbda6dc57dda738402ea9560126f6b940dff (patch)
tree7825c841c88dfbe2823a48e9199598604a5f998c /src
parentd18cea5369fa33641e64382dd52dba72250d89e3 (diff)
downloadopenttd-f0a4bbda6dc57dda738402ea9560126f6b940dff.tar.xz
(svn r16101) -Cleanup (r14591): Remove an assertion to increase performance.
Diffstat (limited to 'src')
-rw-r--r--src/town_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index c9bc64f5e..d70f99e11 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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;