diff options
author | rubidium <rubidium@openttd.org> | 2009-07-31 19:57:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-31 19:57:21 +0000 |
commit | 3c065342867c3ecd68d53a2eb3a20d9740200803 (patch) | |
tree | c1975cf98cc25559f8883ee6fb18c0e285f25e0b /src/ai/api/ai_map.hpp | |
parent | c2ed8840123cc81f58b3db8d6341b22349b4ac78 (diff) | |
download | openttd-3c065342867c3ecd68d53a2eb3a20d9740200803.tar.xz |
(svn r17006) -Fix (r17005): gcc compile failure
Diffstat (limited to 'src/ai/api/ai_map.hpp')
-rw-r--r-- | src/ai/api/ai_map.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ai/api/ai_map.hpp b/src/ai/api/ai_map.hpp index 02514a214..e0d3cadc8 100644 --- a/src/ai/api/ai_map.hpp +++ b/src/ai/api/ai_map.hpp @@ -13,9 +13,7 @@ class AIMap : public AIObject { public: #ifdef DEFINE_SCRIPT_FILES - enum MapType { - TILE_INVALID = INVALID_TILE, //!< Invalid TileIndex. - }; + static const int TILE_INVALID = INVALID_TILE; //!< Invalid TileIndex. #endif /* DEFINE_SCRIPT_FILES */ #ifdef DOXYGEN_SKIP const static TileIndex TILE_INVALID; //!< Invalid TileIndex. |