1
0
Fork 0

(svn r24482) -Fix [FS#5232] (r24180): Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished.

release/1.3
frosch 2012-08-18 11:38:06 +00:00
parent d17ec934f5
commit b11b0bb0e2
2 changed files with 2 additions and 3 deletions

View File

@ -60,7 +60,7 @@
#include "game/game.hpp" #include "game/game.hpp"
#include "game/game_config.hpp" #include "game/game_config.hpp"
#include "town.h" #include "town.h"
#include "subsidy_func.h"
#include <stdarg.h> #include <stdarg.h>
@ -1158,6 +1158,7 @@ static void CheckCaches()
extern void RebuildTownCaches(); extern void RebuildTownCaches();
RebuildTownCaches(); RebuildTownCaches();
RebuildSubsidisedSourceAndDestinationCache();
uint i = 0; uint i = 0;
FOR_ALL_TOWNS(t) { FOR_ALL_TOWNS(t) {

View File

@ -50,8 +50,6 @@ void RebuildTownCaches()
UpdateTownCargoes(town); UpdateTownCargoes(town);
} }
UpdateTownCargoBitmap(); UpdateTownCargoBitmap();
RebuildSubsidisedSourceAndDestinationCache();
} }
/** /**