summaryrefslogtreecommitdiff
path: root/src/waypoint_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/waypoint_base.h')
-rw-r--r--src/waypoint_base.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/waypoint_base.h b/src/waypoint_base.h
index 199dae975..952503260 100644
--- a/src/waypoint_base.h
+++ b/src/waypoint_base.h
@@ -24,6 +24,16 @@ struct Waypoint : SpecializedStation<Waypoint, true> {
/* virtual */ uint32 GetNewGRFVariable(const struct ResolverObject *object, byte variable, byte parameter, bool *available) const;
/* virtual */ void GetTileArea(TileArea *ta, StationType type) const;
+
+ /* virtual */ uint GetPlatformLength(TileIndex tile, DiagDirection dir) const
+ {
+ return 1;
+ }
+
+ /* virtual */ uint GetPlatformLength(TileIndex tile) const
+ {
+ return 1;
+ }
};
#define FOR_ALL_WAYPOINTS(var) FOR_ALL_BASE_STATIONS_OF_TYPE(Waypoint, var)