summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-04 19:21:16 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-04 19:21:16 +0000
commit4963eb80b783c22479e48a721cd2d8742eb7c793 (patch)
tree6f6939f9088bd971f5e55296895fa697780b6bc3 /station_cmd.c
parenta55ac6efac979b9276faae4c71e965dd6a1b35c3 (diff)
downloadopenttd-4963eb80b783c22479e48a721cd2d8742eb7c793.tar.xz
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 8fd4d62d5..b488fa212 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1990,7 +1990,7 @@ static void DrawTile_Station(TileInfo *ti)
if (statspec != NULL) {
uint tile = GetStationGfx(ti->tile);
- relocation = GetCustomStationRelocation(statspec, st, ti->tile, 0);
+ relocation = GetCustomStationRelocation(statspec, st, ti->tile);
/* Ensure the chosen tile layout is valid for this custom station */
t = &statspec->renderdata[tile < statspec->tiles ? tile : GetRailStationAxis(ti->tile)];