mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-24 06:00:05 +01:00
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
This commit is contained in:
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
Block a user