(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations

This commit is contained in:
rubidium
2009-07-17 20:51:24 +00:00
parent c9cab7ba19
commit d8f16ea199
5 changed files with 16 additions and 18 deletions

View File

@@ -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. */