(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.

This commit is contained in:
frosch
2009-01-11 14:26:11 +00:00
parent 0c23420998
commit b58cdfc294
3 changed files with 12 additions and 7 deletions

View File

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