(svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks
This commit is contained in:
@@ -40,7 +40,7 @@ void UpdateHousesAndTowns()
|
||||
|
||||
if (!IsTileType(t, MP_HOUSE)) continue;
|
||||
|
||||
house_id = GetHouseType(t);
|
||||
house_id = GetCleanHouseType(t);
|
||||
if (!HouseSpec::Get(house_id)->enabled && house_id >= NEW_HOUSE_OFFSET) {
|
||||
/* The specs for this type of house are not available any more, so
|
||||
* replace it with the substitute original house type. */
|
||||
|
Reference in New Issue
Block a user