summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-02-16 17:42:28 +0000
committerfrosch <frosch@openttd.org>2014-02-16 17:42:28 +0000
commit20785c79fc2437683eb59ebdf98dde0ce1863c2c (patch)
tree7eb41848661c99ae92e2a5c73379342c3ab802ac /src/town_cmd.cpp
parent40f61eaf15b17a5f56d12734f1ae421eff4a23ed (diff)
downloadopenttd-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/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp1
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();
}