Improve performance of tunnel rendering in viewport map mode

This commit is contained in:
Jonathan G Rennison
2020-03-02 01:49:15 +00:00
parent 4108672cf6
commit 8956b1ab02
6 changed files with 102 additions and 46 deletions

View File

@@ -3774,6 +3774,7 @@ bool AfterLoadGame()
/* This needs to be done after conversion. */
RebuildViewportKdtree();
ViewportMapBuildTunnelCache();
/* Road stops is 'only' updating some caches */
AfterLoadRoadStops();