(svn r26175) -Add: Log in desync output when persistent storage is discarded.

This commit is contained in:
frosch
2013-12-23 18:09:29 +00:00
parent eca86d1baf
commit 49852e3dac
9 changed files with 43 additions and 10 deletions

View File

@@ -399,7 +399,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
const IndustrySpec *indsp = GetIndustrySpec(this->industry->type);
uint32 grfid = (indsp->grf_prop.grffile != NULL) ? indsp->grf_prop.grffile->grfid : 0;
assert(PersistentStorage::CanAllocateItem());
this->industry->psa = new PersistentStorage(grfid);
this->industry->psa = new PersistentStorage(grfid, GSF_INDUSTRIES, this->industry->location.tile);
}
this->industry->psa->StoreValue(pos, value);