diff options
Diffstat (limited to 'src/tunnelbridge_map.h')
-rw-r--r-- | src/tunnelbridge_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnelbridge_map.h b/src/tunnelbridge_map.h index 5b5c6e447..5bb2a7465 100644 --- a/src/tunnelbridge_map.h +++ b/src/tunnelbridge_map.h @@ -52,7 +52,7 @@ static inline TransportType GetTunnelBridgeTransportType(TileIndex t) static inline bool HasTunnelBridgeSnowOrDesert(TileIndex t) { assert(IsTileType(t, MP_TUNNELBRIDGE)); - return HasBit(_m[t].m4, 7); + return HasBit(_me[t].m7, 5); } /** @@ -66,7 +66,7 @@ static inline bool HasTunnelBridgeSnowOrDesert(TileIndex t) static inline void SetTunnelBridgeSnowOrDesert(TileIndex t, bool snow_or_desert) { assert(IsTileType(t, MP_TUNNELBRIDGE)); - SB(_m[t].m4, 7, 1, snow_or_desert); + SB(_me[t].m7, 5, 1, snow_or_desert); } /** |