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 | 0cf79d70d0d1b2cccec4053fd9afa500db542b7a (patch) | |
tree | e38c9f3a4aaf40616ccf40c61f828bbcbc9f6e38 /src/town_cmd.cpp | |
parent | f7b79916e88cad5f25999a9006b67c25347bd569 (diff) | |
download | openttd-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_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; |