(svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame

This commit is contained in:
Yexo
2010-03-13 00:15:24 +00:00
parent f9437a4053
commit 25e5be2b51
3 changed files with 16 additions and 0 deletions

View File

@@ -41,6 +41,7 @@
#include "../company_func.h"
#include "../road_cmd.h"
#include "../ai/ai.hpp"
#include "../ai/ai_gui.hpp"
#include "../town.h"
#include "../economy_base.h"
#include "../animated_tile_func.h"
@@ -263,6 +264,7 @@ static void InitializeWindowsAndCaches()
CheckTrainsLengths();
ShowNewGRFError();
ShowAIDebugWindowIfAIError();
}
typedef void (CDECL *SignalHandlerPointer)(int);