summaryrefslogtreecommitdiff
path: root/src/newgrf_town.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-12-23 18:09:29 +0000
committerfrosch <frosch@openttd.org>2013-12-23 18:09:29 +0000
commit49852e3dac0e59377b440a23c514608e714846f2 (patch)
treeba094a330655085516bd75bd560973ae29cd64b3 /src/newgrf_town.cpp
parenteca86d1baf5f374d25dcc9bf0ff2bad328bdffab (diff)
downloadopenttd-49852e3dac0e59377b440a23c514608e714846f2.tar.xz
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
Diffstat (limited to 'src/newgrf_town.cpp')
-rw-r--r--src/newgrf_town.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_town.cpp b/src/newgrf_town.cpp
index b6693d9ae..c807e77a8 100644
--- a/src/newgrf_town.cpp
+++ b/src/newgrf_town.cpp
@@ -155,7 +155,7 @@ TownScopeResolver::TownScopeResolver(ResolverObject &ro, Town *t, bool readonly)
/* Create a new storage. */
assert(PersistentStorage::CanAllocateItem());
- PersistentStorage *psa = new PersistentStorage(grfid);
+ PersistentStorage *psa = new PersistentStorage(grfid, GSF_FAKE_TOWNS, this->t->xy);
psa->StoreValue(pos, value);
t->psa_list.push_back(psa);
}