diff --git a/src/waypoint.cpp b/src/waypoint.cpp --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -44,6 +44,21 @@ void DrawWaypointSprite(int x, int y, in } } +void Waypoint::GetTileArea(TileArea *ta, StationType type) const +{ + switch (type) { + case STATION_BUOY: + case STATION_WAYPOINT: + break; + + default: NOT_REACHED(); + } + + ta->tile = this->xy; + ta->w = 1; + ta->h = 1; +} + Waypoint::~Waypoint() { if (CleaningPool()) return;