summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openttd.cpp3
-rw-r--r--src/saveload/town_sl.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 602f314c9..0661334d6 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -60,7 +60,7 @@
#include "game/game.hpp"
#include "game/game_config.hpp"
#include "town.h"
-
+#include "subsidy_func.h"
#include <stdarg.h>
@@ -1158,6 +1158,7 @@ static void CheckCaches()
extern void RebuildTownCaches();
RebuildTownCaches();
+ RebuildSubsidisedSourceAndDestinationCache();
uint i = 0;
FOR_ALL_TOWNS(t) {
diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp
index 96cf87ada..c0cb59994 100644
--- a/src/saveload/town_sl.cpp
+++ b/src/saveload/town_sl.cpp
@@ -50,8 +50,6 @@ void RebuildTownCaches()
UpdateTownCargoes(town);
}
UpdateTownCargoBitmap();
-
- RebuildSubsidisedSourceAndDestinationCache();
}
/**