(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 35ecb9db3f
commit 74916a103e
9 changed files with 43 additions and 10 deletions

View File

@@ -218,7 +218,7 @@ void AirportOverrideManager::SetEntitySpec(AirportSpec *as)
/* Create storage on first modification. */
uint32 grfid = (this->ro.grffile != NULL) ? this->ro.grffile->grfid : 0;
assert(PersistentStorage::CanAllocateItem());
this->st->airport.psa = new PersistentStorage(grfid);
this->st->airport.psa = new PersistentStorage(grfid, GSF_AIRPORTS, this->st->airport.tile);
}
this->st->airport.psa->StoreValue(pos, value);
}