src/clear_map.h
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5648 1608018c5ff2
child 5847 9ce114e1d90d
--- a/src/clear_map.h	Thu Jan 11 13:41:16 2007 +0000
+++ b/src/clear_map.h	Mon Jan 15 20:14:06 2007 +0000
@@ -23,7 +23,7 @@
 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)