diff options
author | belugas <belugas@openttd.org> | 2008-06-03 03:06:16 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-06-03 03:06:16 +0000 |
commit | 4b4e73c1dd6c77a5876f826a45af1263b1b3eb96 (patch) | |
tree | e38c9f3a4aaf40616ccf40c61f828bbcbc9f6e38 /src/town_cmd.cpp | |
parent | b0ada3fbbf25693675a18e3360657816ed5cf2ca (diff) | |
download | openttd-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_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 2967e11da..5314803ec 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1931,7 +1931,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile) } } - if (_cur_year < hs->min_date || _cur_year > hs->max_date) continue; + if (_cur_year < hs->min_year || _cur_year > hs->max_year) continue; /* Special houses that there can be only one of. */ uint oneof = 0; |