(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI.
This commit is contained in:
@@ -158,6 +158,7 @@ void TownStorePSA(Town *t, const GRFFile *caller_grffile, uint pos, int32 value)
|
||||
}
|
||||
|
||||
/* Create a new storage. */
|
||||
assert(PersistentStorage::CanAllocateItem());
|
||||
PersistentStorage *psa = new PersistentStorage(grfid);
|
||||
psa->StoreValue(pos, value);
|
||||
t->psa_list.push_back(psa);
|
||||
|
Reference in New Issue
Block a user