diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2590,7 +2590,7 @@ Town *ClosestTownFromTile(TileIndex tile Town *town = GetTown(tid); assert(town->IsValid()); - assert(town == CalcClosestTownFromTile(tile, UINT_MAX)); + assert(town == CalcClosestTownFromTile(tile)); if (DistanceManhattan(tile, town->xy) >= threshold) town = NULL;