summaryrefslogtreecommitdiff
path: root/src/object_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object_map.h')
-rw-r--r--src/object_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object_map.h b/src/object_map.h
index d26279f88..bf6e33858 100644
--- a/src/object_map.h
+++ b/src/object_map.h
@@ -115,7 +115,7 @@ static inline bool IsStatueTile(TileIndex t)
static inline byte GetObjectAnimationStage(TileIndex t)
{
assert(IsTileType(t, MP_OBJECT));
- return _m[t].m3;
+ return _me[t].m7;
}
/**
@@ -127,7 +127,7 @@ static inline byte GetObjectAnimationStage(TileIndex t)
static inline void SetObjectAnimationStage(TileIndex t, uint8 stage)
{
assert(IsTileType(t, MP_OBJECT));
- _m[t].m3 = stage;
+ _me[t].m7 = stage;
}