From 20785c79fc2437683eb59ebdf98dde0ce1863c2c Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 16 Feb 2014 17:42:28 +0000 Subject: (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. --- src/town_cmd.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/town_cmd.cpp') 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(); } -- cgit v1.2.3-54-g00ecf