summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-24 17:39:54 +0000
committersmatz <smatz@openttd.org>2009-06-24 17:39:54 +0000
commit8343340acb5bdb40555e04f40aac567d6e583bb8 (patch)
tree29b17ad863977abd3d3417dd8bbf84e01cfc261d /src/roadveh_cmd.cpp
parentb18bf87c9081c3d202897e9c3ed282729db415a4 (diff)
downloadopenttd-8343340acb5bdb40555e04f40aac567d6e583bb8.tar.xz
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 7182afcb9..a6bbb0572 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -5,7 +5,7 @@
#include "stdafx.h"
#include "landscape.h"
#include "roadveh.h"
-#include "station_map.h"
+#include "station_base.h"
#include "command_func.h"
#include "news_func.h"
#include "pathfind.h"
@@ -1639,7 +1639,7 @@ again:
v->frame == RVC_DRIVE_THROUGH_STOP_FRAME))) {
RoadStop *rs = GetRoadStopByTile(v->tile, GetRoadStopType(v->tile));
- Station *st = GetStationByTile(v->tile);
+ Station *st = Station::GetByTile(v->tile);
/* Vehicle is at the stop position (at a bay) in a road stop.
* Note, if vehicle is loading/unloading it has already been handled,