summaryrefslogtreecommitdiff
path: root/rail_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 /rail_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 '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 34ba58309..fdadfddfe 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), ti->tile, 0);
+ uint32 relocation = GetCustomStationRelocation(statspec, ComposeWaypointStation(ti->tile), ti->tile);
/* We don't touch the 0x8000 bit. In all this
* waypoint code, it is used to indicate that