mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 00:34:27 +00:00
(svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930
This commit is contained in:
parent
a9a095c4b0
commit
481b1191ef
@ -2114,13 +2114,6 @@ static ChangeInfoResult TownHouseChangeInfo(uint hid, int numinfo, int prop, Byt
|
||||
housespec->cargo_acceptance[2] = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* New houses do not (currently) expect to have a default start
|
||||
* date before 1930, as this breaks the build date stuff.
|
||||
* @see FinaliseHouseArray() for more details.
|
||||
*/
|
||||
if (housespec->min_year < 1930) housespec->min_year = 1930;
|
||||
|
||||
_loaded_newgrf_features.has_newhouses = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user