(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.

This commit is contained in:
alberth
2010-02-27 17:42:55 +00:00
parent f91cf9e519
commit 87c09ddcc0
3 changed files with 24 additions and 18 deletions

View File

@@ -191,7 +191,7 @@ void ResetHouses();
void ClearTownHouse(Town *t, TileIndex tile);
void UpdateTownMaxPass(Town *t);
void UpdateTownRadius(Town *t);
bool CheckIfAuthorityAllowsNewStation(TileIndex tile, DoCommandFlag flags);
CommandCost CheckIfAuthorityAllowsNewStation(TileIndex tile, DoCommandFlag flags);
Town *ClosestTownFromTile(TileIndex tile, uint threshold);
void ChangeTownRating(Town *t, int add, int max, DoCommandFlag flags);
HouseZonesBits GetTownRadiusGroup(const Town *t, TileIndex tile);