From a7d0cdf95fd8847ab76b35446e1c9b77f8ef1cb7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Jan 2007 18:56:51 +0000 Subject: (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. --- src/clear_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clear_map.h') diff --git a/src/clear_map.h b/src/clear_map.h index 85c52a1a7..dd7a15061 100644 --- a/src/clear_map.h +++ b/src/clear_map.h @@ -23,7 +23,7 @@ typedef enum ClearGround { static inline ClearGround GetClearGround(TileIndex t) { assert(IsTileType(t, MP_CLEAR)); - return GB(_m[t].m5, 2, 3); + return (ClearGround)GB(_m[t].m5, 2, 3); } static inline bool IsClearGround(TileIndex t, ClearGround ct) -- cgit v1.2.3-70-g09d2