mirror of https://github.com/OpenTTD/OpenTTD
(svn r24482) -Fix [FS#5232] (r24180): Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished.
parent
d17ec934f5
commit
b11b0bb0e2
|
@ -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…
Reference in New Issue