Fix changing town zone settings not updating town zone radii

This could cause MP desyncs
This commit is contained in:
Jonathan G Rennison
2022-11-01 18:17:27 +00:00
parent 95a646d09b
commit 94de25ec10
4 changed files with 32 additions and 7 deletions

View File

@@ -271,6 +271,7 @@ void ResetHouses();
void ClearTownHouse(Town *t, TileIndex tile);
void UpdateTownMaxPass(Town *t);
void UpdateTownRadius(Town *t);
void UpdateTownRadii();
CommandCost CheckIfAuthorityAllowsNewStation(TileIndex tile, DoCommandFlag flags);
Town *ClosestTownFromTile(TileIndex tile, uint threshold);
void ChangeTownRating(Town *t, int add, int max, DoCommandFlag flags);