diff options
author | frosch <frosch@openttd.org> | 2014-02-16 17:42:28 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-02-16 17:42:28 +0000 |
commit | 20785c79fc2437683eb59ebdf98dde0ce1863c2c (patch) | |
tree | 7eb41848661c99ae92e2a5c73379342c3ab802ac /src | |
parent | 40f61eaf15b17a5f56d12734f1ae421eff4a23ed (diff) | |
download | openttd-20785c79fc2437683eb59ebdf98dde0ce1863c2c.tar.xz |
(svn r26345) -Cleanup (r26310): Spawning towns does not touch persistent NewGRF storage. ClearPersistentStorageChanges is a dangerous/magic function which should not be called without reason.
Diffstat (limited to 'src')
-rw-r--r-- | src/town_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index fd380a827..7ca11fe31 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1913,7 +1913,6 @@ bool GenerateTowns(TownLayout layout) /* Clear the caches regularly, otherwise it will only be done * at the end of the whole cycle when OpenTTD has allocated * lots and lots of memory for these essentially caches. */ - ClearPersistentStorageChanges(true); Layouter::ReduceLineCache(); } |