forked from mirror/OpenTTD
(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:
@@ -2522,4 +2522,7 @@ void ResetHouses()
|
||||
{
|
||||
memset(&_house_specs, 0, sizeof(_house_specs));
|
||||
memcpy(&_house_specs, &_original_house_specs, sizeof(_original_house_specs));
|
||||
|
||||
/* Reset any overrides that have been set. */
|
||||
_house_mngr.ResetOverride();
|
||||
}
|
||||
|
Reference in New Issue
Block a user