mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-14 16:15:14 +01:00
(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.
This commit is contained in:
parent
40f61eaf15
commit
20785c79fc
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user