Index: src/newgrf_station.cpp =================================================================== --- src/newgrf_station.cpp (revision 16708) +++ src/newgrf_station.cpp (working copy) @@ -448,7 +448,7 @@ return st->TileBelongsToRailStation(tile) ? GetStationAnimationFrame(tile) : UINT_MAX; case 0x67: { // Land info of nearby tile - Axis axis = GetRailStationAxis(tile); + Axis axis = IsRailWaypoint(tile) ? GetWaypointAxis(tile) : GetRailStationAxis(tile); if (parameter != 0) tile = GetNearbyTile(parameter, tile); // only perform if it is required Index: src/station_map.h =================================================================== --- src/station_map.h (revision 16708) +++ src/station_map.h (working copy) @@ -68,13 +68,13 @@ static inline uint8 GetStationAnimationFrame(TileIndex t) { - assert(IsTileType(t, MP_STATION)); + assert(IsTileType(t, MP_STATION) || IsRailWaypointTile(t)); return _me[t].m7; } static inline void SetStationAnimationFrame(TileIndex t, uint8 frame) { - assert(IsTileType(t, MP_STATION)); + assert(IsTileType(t, MP_STATION) || IsRailWaypointTile(t)); _me[t].m7 = frame; } @@ -295,13 +295,13 @@ static inline void SetStationTileRandomBits(TileIndex t, byte random_bits) { - assert(IsTileType(t, MP_STATION)); + assert(IsTileType(t, MP_STATION) || IsRailWaypointTile(t)); SB(_m[t].m3, 4, 4, random_bits); } static inline byte GetStationTileRandomBits(TileIndex t) { - assert(IsTileType(t, MP_STATION)); + assert(IsTileType(t, MP_STATION) || IsRailWaypointTile(t)); return GB(_m[t].m3, 4, 4); } Index: docs/landscape.html =================================================================== --- docs/landscape.html (revision 16708) +++ docs/landscape.html (working copy) @@ -184,7 +184,7 @@
  • m5 bit 7 set, bit 6 set: railway depot Index: docs/landscape_grid.html =================================================================== --- docs/landscape_grid.html (revision 16708) +++ docs/landscape_grid.html (working copy) @@ -124,11 +124,11 @@ -inherit- -inherit- XXXX XXXX XXXX XXXX - OOOO ~~XX + XXXX ~~XX OOOO XXXX XXOX OOOX XXOO OOXX - OOOO OOOO + XXXX XXXX 2