diff options
author | rubidium <rubidium@openttd.org> | 2009-07-17 20:51:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-17 20:51:24 +0000 |
commit | d8f16ea1994ecebdb153c58350b3a044a6d43e57 (patch) | |
tree | 1af8506b6b3e5656b1ccbd30d75f04571c191306 /src/waypoint_cmd.cpp | |
parent | c9cab7ba1967a42b90b44bca865db33c66a20c72 (diff) | |
download | openttd-d8f16ea1994ecebdb153c58350b3a044a6d43e57.tar.xz |
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
Diffstat (limited to 'src/waypoint_cmd.cpp')
-rw-r--r-- | src/waypoint_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_cmd.cpp b/src/waypoint_cmd.cpp index 1e8094162..2f10c7dea 100644 --- a/src/waypoint_cmd.cpp +++ b/src/waypoint_cmd.cpp @@ -224,7 +224,7 @@ CommandCost RemoveTrainWaypoint(TileIndex tile, DoCommandFlag flags, bool justre if (flags & DC_EXEC) { Track track = GetRailWaypointTrack(tile); - wp = GetWaypointByTile(tile); + wp = Waypoint::GetByTile(tile); wp->delete_ctr = 30; // let it live for this many days before we do the actual deletion. wp->sign.MarkDirty(); |