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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_base.h b/src/waypoint_base.h
index c97c6089c..8d544a3b9 100644
--- a/src/waypoint_base.h
+++ b/src/waypoint_base.h
@@ -32,7 +32,7 @@ struct Waypoint FINAL : SpecializedStation<Waypoint, true> {
return IsRailWaypointTile(tile) && GetStationIndex(tile) == this->index;
}
- /* virtual */ uint32 GetNewGRFVariable(const struct ResolverObject *object, byte variable, byte parameter, bool *available) const;
+ /* virtual */ uint32 GetNewGRFVariable(const struct ResolverObject &object, byte variable, byte parameter, bool *available) const;
/* virtual */ void GetTileArea(TileArea *ta, StationType type) const;