diff options
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r-- | src/waypoint.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 9e8e7da13..70ec5c3f5 100644 --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -44,6 +44,21 @@ void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype) } } +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; |