diff --git a/src/openttd.cpp b/src/openttd.cpp index 602f314c9c..0661334d6f 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 @@ -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 96cf87ada2..c0cb599948 100644 --- a/src/saveload/town_sl.cpp +++ b/src/saveload/town_sl.cpp @@ -50,8 +50,6 @@ void RebuildTownCaches() UpdateTownCargoes(town); } UpdateTownCargoBitmap(); - - RebuildSubsidisedSourceAndDestinationCache(); } /**