(svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
This commit is contained in:
@@ -71,6 +71,10 @@ void ResetIndustries()
|
||||
|
||||
memset(&_industry_tile_specs, 0, sizeof(_industry_tile_specs));
|
||||
memcpy(&_industry_tile_specs, &_origin_industry_tile_specs, sizeof(_origin_industry_tile_specs));
|
||||
|
||||
/* Reset any overrides that have been set. */
|
||||
_industile_mngr.ResetOverride();
|
||||
_industry_mngr.ResetOverride();
|
||||
}
|
||||
|
||||
void ResetIndustryCreationProbility(IndustryType type)
|
||||
|
Reference in New Issue
Block a user