(svn r4386) -Codechange: Add and make use of IsCustomWaypoint
This commit is contained in:
@@ -144,6 +144,11 @@ static inline void ClearCustomWaypointSprite(TileIndex t)
|
||||
CLRBIT(_m[t].m3, 4);
|
||||
}
|
||||
|
||||
static inline bool IsCustomWaypoint(TileIndex t)
|
||||
{
|
||||
return HASBIT(_m[t].m3, 4);
|
||||
}
|
||||
|
||||
static inline Axis GetWaypointAxis(TileIndex t)
|
||||
{
|
||||
return HASBIT(_m[t].m5, 0) ? AXIS_Y : AXIS_X;
|
||||
|
Reference in New Issue
Block a user