mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 17:49:10 +00:00
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user