summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-06-03 03:06:16 +0000
committerbelugas <belugas@openttd.org>2008-06-03 03:06:16 +0000
commit0cf79d70d0d1b2cccec4053fd9afa500db542b7a (patch)
treee38c9f3a4aaf40616ccf40c61f828bbcbc9f6e38 /src/town.h
parentf7b79916e88cad5f25999a9006b67c25347bd569 (diff)
downloadopenttd-0cf79d70d0d1b2cccec4053fd9afa500db542b7a.tar.xz
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town.h b/src/town.h
index 53de13ce5..89246f5aa 100644
--- a/src/town.h
+++ b/src/town.h
@@ -212,8 +212,8 @@ inline TownLayout Town::GetActiveLayout() const
struct HouseSpec {
/* Standard properties */
- Year min_date; ///< introduction year of the house
- Year max_date; ///< last year it can be built
+ Year min_year; ///< introduction year of the house
+ Year max_year; ///< last year it can be built
byte population; ///< population (Zero on other tiles in multi tile house.)
byte removal_cost; ///< cost multiplier for removing it
StringID building_name; ///< building name