(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:
belugas
2007-10-03 00:57:54 +00:00
parent a2ed316770
commit 23eed48a92
3 changed files with 7 additions and 9 deletions

View File

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