Fix 3de8853e29: Industries accept/produce no cargo for pre-SLV_78 saves. (#12508)
Industry accepted/produced was trimmed too early for original and pre-SLV_78 saves, as cargo type was not stored per slot so all slots look invalid to the trim function.
This commit is contained in:
@@ -875,7 +875,6 @@ static bool LoadOldIndustry(LoadgameState *ls, int num)
|
||||
}
|
||||
|
||||
Industry::IncIndustryTypeCount(i->type);
|
||||
TrimIndustryAcceptedProduced(i);
|
||||
} else {
|
||||
delete i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user