summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-17 15:05:25 +0000
committerfrosch <frosch@openttd.org>2010-01-17 15:05:25 +0000
commit24e0945bc462ea0687689880caf0d830455934e2 (patch)
tree489fd14a952047f356b8258eb6f5f799d23d5c47 /src/station_cmd.cpp
parent830af8ee77bbbedb23f4caa53c8b47c20235f1b2 (diff)
downloadopenttd-24e0945bc462ea0687689880caf0d830455934e2.tar.xz
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index ff3fd4b12..2ed623ea6 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2455,7 +2455,7 @@ static void DrawTile_Station(TileInfo *ti)
total_offset = 0;
}
- DrawCommonTileSeq(ti, t, TO_BUILDINGS, total_offset, relocation, palette);
+ DrawRailTileSeq(ti, t, TO_BUILDINGS, total_offset, relocation, palette);
}
void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, RoadType roadtype, int image)
@@ -2477,7 +2477,7 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro
}
/* Default waypoint has no railtype specific sprites */
- DrawCommonTileSeqInGUI(x, y, t, st == STATION_WAYPOINT ? 0 : total_offset, 0, pal);
+ DrawRailTileSeqInGUI(x, y, t, st == STATION_WAYPOINT ? 0 : total_offset, 0, pal);
}
static uint GetSlopeZ_Station(TileIndex tile, uint x, uint y)