Codechange: move windows common to AI and GS out of ai_gui

This commit is contained in:
glx22
2023-02-04 04:17:55 +01:00
committed by Loïc Guilloux
parent 78e3c93a25
commit b080f24bd8
26 changed files with 1391 additions and 1374 deletions

View File

@@ -40,7 +40,7 @@
#include "../company_func.h"
#include "../road_cmd.h"
#include "../ai/ai.hpp"
#include "../ai/ai_gui.hpp"
#include "../script/script_gui.h"
#include "../game/game.hpp"
#include "../town.h"
#include "../economy_base.h"
@@ -552,7 +552,7 @@ static void StartScripts()
if (Company::IsValidAiID(c->index)) AI::StartNew(c->index, false);
}
ShowAIDebugWindowIfAIError();
ShowScriptDebugWindowIfScriptError();
}
/**