(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date

This commit is contained in:
belugas
2008-06-03 03:06:16 +00:00
parent f7b79916e8
commit 0cf79d70d0
4 changed files with 12 additions and 12 deletions

View File

@@ -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;