@@ -112,25 +112,25 @@ static inline bool IsStatueTile(TileInde
* @pre IsTileType(t, MP_OBJECT)
* @return The animation 'stage' of the tile.
*/
static inline byte GetObjectAnimationStage(TileIndex t)
{
assert(IsTileType(t, MP_OBJECT));
return _m[t].m3;
return _me[t].m7;
}
/**
* Set animation stage/counter of this tile.
* @param t The tile to query.
* @param stage The stage of this tile.
static inline void SetObjectAnimationStage(TileIndex t, uint8 stage)
_m[t].m3 = stage;
_me[t].m7 = stage;
* Make an Object tile.
* @note do not use this function directly. Use one of the other Make* functions.