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
commit4b4e73c1dd6c77a5876f826a45af1263b1b3eb96 (patch)
treee38c9f3a4aaf40616ccf40c61f828bbcbc9f6e38 /src/town.h
parentb0ada3fbbf25693675a18e3360657816ed5cf2ca (diff)
downloadopenttd-4b4e73c1dd6c77a5876f826a45af1263b1b3eb96.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