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

pull/155/head
frosch 12 years ago
parent 5386558459
commit 7814956d4c

@ -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) {

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

Loading…
Cancel
Save