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 | 444e77d8bcb6738f14ce37e2afafd96d5ce43f1f (patch) | |
tree | 3567936f8a68355c82a35bbc85088b7110d0c507 /src/ai | |
parent | 779ce7fda94b8a26a4d6111731b52a52cac11c72 (diff) | |
download | openttd-444e77d8bcb6738f14ce37e2afafd96d5ce43f1f.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 |