mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 11:29:10 +00:00
(svn r24482) -Fix [FS#5232] (r24180): Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user