summaryrefslogtreecommitdiff
path: root/src/unmovable_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-10 18:56:51 +0000
committerrubidium <rubidium@openttd.org>2007-01-10 18:56:51 +0000
commita7d0cdf95fd8847ab76b35446e1c9b77f8ef1cb7 (patch)
tree1a1c59c13ddb1d152052f3a3a0bcffe4fb531173 /src/unmovable_map.h
parentce75f6549dd379b506c9f1e9383bd881aa7cf5c7 (diff)
downloadopenttd-a7d0cdf95fd8847ab76b35446e1c9b77f8ef1cb7.tar.xz
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Diffstat (limited to 'src/unmovable_map.h')
-rw-r--r--src/unmovable_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_map.h b/src/unmovable_map.h
index d016a7ac1..2e9ecfb9d 100644
--- a/src/unmovable_map.h
+++ b/src/unmovable_map.h
@@ -26,7 +26,7 @@ typedef enum UnmovableType {
static inline UnmovableType GetUnmovableType(TileIndex t)
{
assert(IsTileType(t, MP_UNMOVABLE));
- return _m[t].m5;
+ return (UnmovableType)_m[t].m5;
}