Show warning dialog if NewGRFs use too many string IDs.
Show when reloading/changing NewGRF config, or starting new game.
This commit is contained in:
@@ -451,6 +451,8 @@ void GfxLoadSprites()
|
||||
{
|
||||
DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape);
|
||||
|
||||
_grf_bug_too_many_strings = false;
|
||||
|
||||
SwitchNewGRFBlitter();
|
||||
ClearFontCache();
|
||||
GfxInitSpriteMem();
|
||||
@@ -460,6 +462,8 @@ void GfxLoadSprites()
|
||||
|
||||
UpdateRouteStepSpriteSize();
|
||||
UpdateCursorSize();
|
||||
|
||||
DEBUG(sprite, 2, "Completed loading sprite set %d", _settings_game.game_creation.landscape);
|
||||
}
|
||||
|
||||
bool GraphicsSet::FillSetDetails(IniFile *ini, const char *path, const char *full_filename)
|
||||
|
||||
Reference in New Issue
Block a user