diff options
author | rubidium <rubidium@openttd.org> | 2008-01-07 00:57:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-07 00:57:19 +0000 |
commit | b0ac283aeca94df1af922bc3e02d456464486427 (patch) | |
tree | 3567936f8a68355c82a35bbc85088b7110d0c507 /src/ai | |
parent | 64fc2ade9eae131c9a65ef1341d373544168a497 (diff) | |
download | openttd-b0ac283aeca94df1af922bc3e02d456464486427.tar.xz |
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai.h | 1 | ||||
-rw-r--r-- | src/ai/trolly/pathfinder.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai.h b/src/ai/ai.h index 2fdb3c986..96e25ef54 100644 --- a/src/ai/ai.h +++ b/src/ai/ai.h @@ -7,6 +7,7 @@ #include "../player.h" #include "../command_type.h" #include "../core/random_func.hpp" +#include "../settings_type.h" /* How DoCommands look like for an AI */ struct AICommand { diff --git a/src/ai/trolly/pathfinder.cpp b/src/ai/trolly/pathfinder.cpp index a3bc55c8f..c670c0eae 100644 --- a/src/ai/trolly/pathfinder.cpp +++ b/src/ai/trolly/pathfinder.cpp @@ -11,6 +11,7 @@ #include "../../bridge.h" #include "../../tunnelbridge_map.h" #include "../ai.h" +#include "../../variables.h" #define TEST_STATION_NO_DIR 0xFF |