summaryrefslogtreecommitdiff
path: root/waypoint.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
commite5d936d0fe05621bb6b1448ba5c3e5f264a874f7 (patch)
tree6f6939f9088bd971f5e55296895fa697780b6bc3 /waypoint.c
parent7a91a966eae75bf9e2649775c481bd3f72b21254 (diff)
downloadopenttd-e5d936d0fe05621bb6b1448ba5c3e5f264a874f7.tar.xz
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
Diffstat (limited to 'waypoint.c')
-rw-r--r--waypoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.c b/waypoint.c
index 8e363ea5f..e4fef4ab7 100644
--- a/waypoint.c
+++ b/waypoint.c
@@ -405,7 +405,7 @@ void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype)
return;
}
- relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE, 1);
+ relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE);
// emulate station tile - open with building
// add 1 to get the other direction
cust = &statspec->renderdata[2];