summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-02-27 17:42:55 +0000
committeralberth <alberth@openttd.org>2010-02-27 17:42:55 +0000
commit566f87b2deca7c08582e0ed59d173b9c71304e0b (patch)
tree4af48cec0b1bdd5694716d30717a78415caf1163 /src/town.h
parente338c26504680156df196c10279c05342a2b76f6 (diff)
downloadopenttd-566f87b2deca7c08582e0ed59d173b9c71304e0b.tar.xz
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
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 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);