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:
@@ -982,6 +982,9 @@ static void MakeNewGameDone()
|
||||
{
|
||||
SettingsDisableElrail(_settings_game.vehicle.disable_elrails);
|
||||
|
||||
extern void PostCheckNewGRFLoadWarnings();
|
||||
PostCheckNewGRFLoadWarnings();
|
||||
|
||||
/* In a dedicated server, the server does not play */
|
||||
if (!VideoDriver::GetInstance()->HasGUI()) {
|
||||
SetLocalCompany(COMPANY_SPECTATOR);
|
||||
@@ -1049,6 +1052,9 @@ static void MakeNewGame(bool from_heightmap, bool reset_settings)
|
||||
static void MakeNewEditorWorldDone()
|
||||
{
|
||||
SetLocalCompany(OWNER_NONE);
|
||||
|
||||
extern void PostCheckNewGRFLoadWarnings();
|
||||
PostCheckNewGRFLoadWarnings();
|
||||
}
|
||||
|
||||
static void MakeNewEditorWorld()
|
||||
|
Reference in New Issue
Block a user