summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-03 21:19:21 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-03 21:19:21 +0000
commitbe5744ae508c1ad7baf6158d95a7a27d52656ac2 (patch)
tree4ff7fda6fa9e385a983ea98879ced8b6f2c6fb9c /rail_cmd.c
parentb4a254cd43915502d9c3a843aacb0c4d61ddf631 (diff)
downloadopenttd-be5744ae508c1ad7baf6158d95a7a27d52656ac2.tar.xz
(svn r4723) - Newstations: add TileIndex parameter to station resolver.
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index 16cad05ab..34ba58309 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1324,7 +1324,7 @@ static void DrawTile_Track(TileInfo *ti)
DrawTileSeqStruct const *seq;
// emulate station tile - open with building
const DrawTileSprites *cust = &statspec->renderdata[2 + GetWaypointAxis(ti->tile)];
- uint32 relocation = GetCustomStationRelocation(statspec, ComposeWaypointStation(ti->tile), 0);
+ uint32 relocation = GetCustomStationRelocation(statspec, ComposeWaypointStation(ti->tile), ti->tile, 0);
/* We don't touch the 0x8000 bit. In all this
* waypoint code, it is used to indicate that