diff options
author | smatz <smatz@openttd.org> | 2009-12-19 23:53:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-12-19 23:53:15 +0000 |
commit | a608fbaf7ffb487444b2e029bb7677af8e172699 (patch) | |
tree | 85ac6e321cb114ded6373b6b03f2ac98eb5a9815 /src/ai/api/ai_map.hpp | |
parent | 64478eb9600c9402c8e508ba912e973930b13de8 (diff) | |
download | openttd-a608fbaf7ffb487444b2e029bb7677af8e172699.tar.xz |
(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files
Diffstat (limited to 'src/ai/api/ai_map.hpp')
-rw-r--r-- | src/ai/api/ai_map.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ai/api/ai_map.hpp b/src/ai/api/ai_map.hpp index b9d609f4e..59c102056 100644 --- a/src/ai/api/ai_map.hpp +++ b/src/ai/api/ai_map.hpp @@ -13,15 +13,14 @@ #define AI_MAP_HPP #include "ai_object.hpp" +#include "../../tile_type.h" /** * Class that handles all map related functions. */ class AIMap : public AIObject { public: -#ifdef DEFINE_SCRIPT_FILES static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex. -#endif /* DEFINE_SCRIPT_FILES */ #ifdef DOXYGEN_SKIP const static TileIndex TILE_INVALID; //!< Invalid TileIndex. #endif /* DOXYGEN_SKIP */ |