mirror of https://github.com/OpenTTD/OpenTTD
(svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930
parent
a9a095c4b0
commit
481b1191ef
|
@ -2114,13 +2114,6 @@ static ChangeInfoResult TownHouseChangeInfo(uint hid, int numinfo, int prop, Byt
|
||||||
housespec->cargo_acceptance[2] = 0;
|
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;
|
_loaded_newgrf_features.has_newhouses = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue