summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
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 2d205cddc..4774a30f5 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1989,7 +1989,7 @@ static void DrawTile_Station(TileInfo *ti)
if (statspec != NULL) {
uint tile = GetStationGfx(ti->tile);
- relocation = GetCustomStationRelocation(statspec, st, 0);
+ relocation = GetCustomStationRelocation(statspec, st, ti->tile, 0);
/* Ensure the chosen tile layout is valid for this custom station */
t = &statspec->renderdata[tile < statspec->tiles ? tile : GetRailStationAxis(ti->tile)];