summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-03 22:56:30 +0000
committerrubidium <rubidium@openttd.org>2009-09-03 22:56:30 +0000
commit2fc5458dba98cc89593b42de852b9e052c9cceee (patch)
treeeec5d6c4774083650603643b5289d751b47f487a
parentc9a1f3341885ec1738f3e164df5318ee5d838340 (diff)
downloadopenttd-2fc5458dba98cc89593b42de852b9e052c9cceee.tar.xz
(svn r17411) -Codechange: silence an ICC compile warning
-rw-r--r--src/ai/api/ai_map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_map.hpp b/src/ai/api/ai_map.hpp
index e37d7317e..b9d609f4e 100644
--- a/src/ai/api/ai_map.hpp
+++ b/src/ai/api/ai_map.hpp
@@ -20,7 +20,7 @@
class AIMap : public AIObject {
public:
#ifdef DEFINE_SCRIPT_FILES
- static const int TILE_INVALID = INVALID_TILE; //!< Invalid TileIndex.
+ static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex.
#endif /* DEFINE_SCRIPT_FILES */
#ifdef DOXYGEN_SKIP
const static TileIndex TILE_INVALID; //!< Invalid TileIndex.