summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-10 12:26:55 +0000
committerfrosch <frosch@openttd.org>2009-05-10 12:26:55 +0000
commit96dace426bcccc9254b57eb3a8618217054a4df3 (patch)
tree76fc1e9cbbdf849b8f9588577cf2aafbeba15f19 /src/ai/api
parent294d7ee9d6b7e00a2db7affb4f155d027cfe8308 (diff)
downloadopenttd-96dace426bcccc9254b57eb3a8618217054a4df3.tar.xz
(svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
Diffstat (limited to 'src/ai/api')
-rw-r--r--src/ai/api/ai_tile.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp
index 11bdf58de..c979549f2 100644
--- a/src/ai/api/ai_tile.hpp
+++ b/src/ai/api/ai_tile.hpp
@@ -80,7 +80,7 @@ public:
SLOPE_STEEP_E = SLOPE_STEEP | SLOPE_SEN, //!< A steep slope falling to west (from east)
SLOPE_STEEP_N = SLOPE_STEEP | SLOPE_ENW, //!< A steep slope falling to south (from north)
- SLOPE_INVALID = 0xFF, //!< An invalid slope
+ SLOPE_INVALID = 0xFFFF, //!< An invalid slope
};
/**