Changeset - r21257:0d69e5b23d4e
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2014-02-16 17:42:28
frosch@openttd.org
(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.
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -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();
 
		}
 

	
0 comments (0 inline, 0 general)