Changeset - r28266:31441a56d6a2
master
0
3
0
Fix: AirportGetNearestTown incorrectly assumed first TileIterator result was origin. (#11565)
Not all TileIterators are equal, and some do not start at the top-corner, so the perimeter check was wrong. As the caller already has thie origin tile, use that instead.
Not all TileIterators are equal, and some do not start at the top-corner, so the perimeter check was wrong. As the caller already has thie origin tile, use that instead.
3 files changed with 12 insertions and 9 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)