summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-18 21:14:52 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-03-09 20:27:11 +0100
commitd84b67e54d663a62a0a90ddf3fcc7c3f728826af (patch)
treed069c9179af354b434d8e85f09f1f311673e8bac /src/saveload
parent7b56be0f3ac0a0257c10dc7ebe32c1fe95ea6253 (diff)
downloadopenttd-d84b67e54d663a62a0a90ddf3fcc7c3f728826af.tar.xz
Codechange: Make a k-d tree index of stations
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 07de26038..a80114f91 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -537,6 +537,7 @@ bool AfterLoadGame()
GamelogTestMode();
RebuildTownKdtree();
+ RebuildStationKdtree();
if (IsSavegameVersionBefore(SLV_98)) GamelogGRFAddList(_grfconfig);