diff options
author | frosch <frosch@openttd.org> | 2013-12-23 18:09:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-12-23 18:09:29 +0000 |
commit | 49852e3dac0e59377b440a23c514608e714846f2 (patch) | |
tree | ba094a330655085516bd75bd560973ae29cd64b3 /src/saveload/industry_sl.cpp | |
parent | eca86d1baf5f374d25dcc9bf0ff2bad328bdffab (diff) | |
download | openttd-49852e3dac0e59377b440a23c514608e714846f2.tar.xz |
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
Diffstat (limited to 'src/saveload/industry_sl.cpp')
-rw-r--r-- | src/saveload/industry_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/industry_sl.cpp b/src/saveload/industry_sl.cpp index 8943a5d52..469548f23 100644 --- a/src/saveload/industry_sl.cpp +++ b/src/saveload/industry_sl.cpp @@ -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); |