mirror of https://github.com/OpenTTD/OpenTTD
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
parent
9e3d19e392
commit
d47e51c246
|
@ -730,6 +730,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num)
|
|||
|
||||
if (i->IsValid()) {
|
||||
i->town = GetTown(REMAP_TOWN_IDX(_old_town_index));
|
||||
IncIndustryTypeCount(i->type);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue