File diff r15922:f33ae56b6561 → r15923:6550af31238a
src/object_map.h
Show inline comments
 
@@ -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.
 
 * @pre IsTileType(t, MP_OBJECT)
 
 */
 
static inline void SetObjectAnimationStage(TileIndex t, uint8 stage)
 
{
 
	assert(IsTileType(t, MP_OBJECT));
 
	_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.