diff options
author | alberth <alberth@openttd.org> | 2010-02-27 17:42:55 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-02-27 17:42:55 +0000 |
commit | 566f87b2deca7c08582e0ed59d173b9c71304e0b (patch) | |
tree | 4af48cec0b1bdd5694716d30717a78415caf1163 /src/town.h | |
parent | e338c26504680156df196c10279c05342a2b76f6 (diff) | |
download | openttd-566f87b2deca7c08582e0ed59d173b9c71304e0b.tar.xz |
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
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 284026fd6..cbd95cbe1 100644 --- a/src/town.h +++ b/src/town.h @@ -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); |