File diff r21090:ad4f8144ed92 → r21091:6d0d361e1c1e
src/saveload/industry_sl.cpp
Show inline comments
 
@@ -98,7 +98,7 @@ static void Load_INDY()
 
		if (IsSavegameVersionBefore(161) && !IsSavegameVersionBefore(76)) {
 
			/* Store the old persistent storage. The GRFID will be added later. */
 
			assert(PersistentStorage::CanAllocateItem());
 
			i->psa = new PersistentStorage(0);
 
			i->psa = new PersistentStorage(0, 0, 0);
 
			memcpy(i->psa->storage, _old_ind_persistent_storage.storage, sizeof(i->psa->storage));
 
		}
 
		Industry::IncIndustryTypeCount(i->type);