diff options
author | Yexo <yexo@openttd.org> | 2010-03-13 00:15:24 +0000 |
---|---|---|
committer | Yexo <yexo@openttd.org> | 2010-03-13 00:15:24 +0000 |
commit | dfa528d058e5499558e7fd8dca3b292851f7625a (patch) | |
tree | 7965c3366300677028430c11012a986ddf18ffc2 /src/saveload | |
parent | d0b496feb63980b1ec9bf402b7fa2c236e07f999 (diff) | |
download | openttd-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.cpp | 2 |
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); |