summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-10 13:54:10 +0000
committerrubidium <rubidium@openttd.org>2011-12-10 13:54:10 +0000
commit58423b26d1d9daa996e151fb3dc3e30dad49b722 (patch)
tree5367a286f073cbaec260306fc36ef6365149d5c7 /src/ai
parent8315b00b32aa838769e016d46d84048e152941d2 (diff)
downloadopenttd-58423b26d1d9daa996e151fb3dc3e30dad49b722.tar.xz
(svn r23474) -Codechange: move the declaration error related functions to error.h
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp1
-rw-r--r--src/ai/ai_instance.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index a71e018e9..7d7ca7d57 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -11,6 +11,7 @@
#include "../stdafx.h"
#include "../table/sprites.h"
+#include "../error.h"
#include "../gui.h"
#include "../querystring_gui.h"
#include "../company_func.h"
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index a3131b45b..df2aef9bc 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -12,7 +12,7 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../saveload/saveload.h"
-#include "../gui.h"
+#include "../error.h"
#include "../script/squirrel_class.hpp"