summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2010-03-13 00:15:24 +0000
committerYexo <yexo@openttd.org>2010-03-13 00:15:24 +0000
commitdfa528d058e5499558e7fd8dca3b292851f7625a (patch)
tree7965c3366300677028430c11012a986ddf18ffc2 /src/saveload
parentd0b496feb63980b1ec9bf402b7fa2c236e07f999 (diff)
downloadopenttd-dfa528d058e5499558e7fd8dca3b292851f7625a.tar.xz
(svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index bb6496e00..15777af79 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -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);