FS#6417 - GSTile.GetTownAuthority not accounts town growth

Attached to Project: OpenTTD
Opened by Milek7 (Milek7) - Saturday, 06 February 2016, 16:43 GMT
Type Bug
Category Script
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 1.5.3
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


GSTile.GetTownAuthority returns not the town which has authority for the tile, but closest town with maximum distance _settings_game.economy.dist_local_authority. It should use instead cache.squared_town_zone_radius[0] for each town.

Propably related with that terrain information tool shows "Local authority" field wrong in grown up towns.
This task depends upon