Codechange: Make a k-d tree index of towns

This commit is contained in:
Niels Martin Hansen
2019-02-18 17:32:53 +01:00
parent d7522e5e8f
commit 7b56be0f3a
13 changed files with 74 additions and 37 deletions

View File

@@ -536,6 +536,8 @@ bool AfterLoadGame()
GamelogTestRevision();
GamelogTestMode();
RebuildTownKdtree();
if (IsSavegameVersionBefore(SLV_98)) GamelogGRFAddList(_grfconfig);
if (IsSavegameVersionBefore(SLV_119)) {