summaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile.h b/src/tile.h
index 0de85ac5b..ac7eb93a7 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -105,7 +105,7 @@ static inline bool IsTileOwner(TileIndex tile, Owner owner)
static inline void SetTropicZone(TileIndex tile, TropicZone type)
{
assert(tile < MapSize());
- SB(_m[tile].extra, 0, 2, type);
+ SB(_m[tile].m6, 0, 2, type);
}
/**
@@ -117,6 +117,6 @@ static inline void SetTropicZone(TileIndex tile, TropicZone type)
static inline TropicZone GetTropicZone(TileIndex tile)
{
assert(tile < MapSize());
- return (TropicZone)GB(_m[tile].extra, 0, 2);
+ return (TropicZone)GB(_m[tile].m6, 0, 2);
}
#endif /* TILE_H */