summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-13 15:33:07 +0000
committeralberth <alberth@openttd.org>2010-03-13 15:33:07 +0000
commit6b6ff9c52b04ec47de1281284fcc99f6775f2302 (patch)
tree303ab0e7deed7d7293218566146fa6b60387de73 /src/town.h
parent7134201524f61ce4234c476fe2d8c16eec4f391e (diff)
downloadopenttd-6b6ff9c52b04ec47de1281284fcc99f6775f2302.tar.xz
(svn r19400) -Codechange: CheckforTownRating returns a 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 f1571d241..25794f084 100644
--- a/src/town.h
+++ b/src/town.h
@@ -179,7 +179,7 @@ enum {
TOWN_HAS_STADIUM = 2 ///< There can be only one stadium by town.
};
-bool CheckforTownRating(DoCommandFlag flags, Town *t, TownRatingCheckType type);
+CommandCost CheckforTownRating(DoCommandFlag flags, Town *t, TownRatingCheckType type);
TileIndexDiff GetHouseNorthPart(HouseID &house);