diff options
author | frosch <frosch@openttd.org> | 2009-01-11 14:26:11 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-01-11 14:26:11 +0000 |
commit | b58cdfc2942f07f231c1ee175b4a114ac6bf35ed (patch) | |
tree | 249698a6ee162bfe2dd153377c44d153495e1d6d /src/town.h | |
parent | 0c234209985458a8d3233dbf42d0a0e49457bf18 (diff) | |
download | openttd-b58cdfc2942f07f231c1ee175b4a114ac6bf35ed.tar.xz |
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h index e3c7d6f8e..91d83271c 100644 --- a/src/town.h +++ b/src/town.h @@ -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); |