summaryrefslogtreecommitdiff
path: root/src/tile_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-21 11:18:10 +0000
committerrubidium <rubidium@openttd.org>2014-09-21 11:18:10 +0000
commit47852f119eebc2816bd829b85ee4d105d1520e21 (patch)
treede27c6de521d5e75ea90752ae3701eee3510208e /src/tile_map.h
parent5116c39865bf3c6117314acfc3644993cef7fb7d (diff)
downloadopenttd-47852f119eebc2816bd829b85ee4d105d1520e21.tar.xz
(svn r26875) -Codechange: move TropicZone information from m6 to type
Diffstat (limited to 'src/tile_map.h')
-rw-r--r--src/tile_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile_map.h b/src/tile_map.h
index 345dc1d1e..08479e1aa 100644
--- a/src/tile_map.h
+++ b/src/tile_map.h
@@ -206,7 +206,7 @@ static inline void SetTropicZone(TileIndex tile, TropicZone type)
{
assert(tile < MapSize());
assert(!IsTileType(tile, MP_VOID) || type == TROPICZONE_NORMAL);
- SB(_m[tile].m6, 0, 2, type);
+ SB(_m[tile].type, 0, 2, type);
}
/**
@@ -218,7 +218,7 @@ static inline void SetTropicZone(TileIndex tile, TropicZone type)
static inline TropicZone GetTropicZone(TileIndex tile)
{
assert(tile < MapSize());
- return (TropicZone)GB(_m[tile].m6, 0, 2);
+ return (TropicZone)GB(_m[tile].type, 0, 2);
}
/**