summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-17 20:51:24 +0000
committerrubidium <rubidium@openttd.org>2009-07-17 20:51:24 +0000
commitd8f16ea1994ecebdb153c58350b3a044a6d43e57 (patch)
tree1af8506b6b3e5656b1ccbd30d75f04571c191306 /src/waypoint.cpp
parentc9cab7ba1967a42b90b44bca865db33c66a20c72 (diff)
downloadopenttd-d8f16ea1994ecebdb153c58350b3a044a6d43e57.tar.xz
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 791822eda..04b71056e 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -49,7 +49,7 @@ void WaypointsDailyLoop()
*/
Station *ComposeWaypointStation(TileIndex tile)
{
- Waypoint *wp = GetWaypointByTile(tile);
+ Waypoint *wp = Waypoint::GetByTile(tile);
/* instead of 'static Station stat' use byte array to avoid Station's destructor call upon exit. As
* a side effect, the station is not constructed now. */