summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-01-11 14:26:11 +0000
committerfrosch <frosch@openttd.org>2009-01-11 14:26:11 +0000
commitf5cff712844a1fe853b750cba242f04b4e960c0e (patch)
tree249698a6ee162bfe2dd153377c44d153495e1d6d /src/town.h
parente8796a148ff26842fe6ae442f88119fda6181e7e (diff)
downloadopenttd-f5cff712844a1fe853b750cba242f04b4e960c0e.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.h2
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);