summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index 1faeaa720..fe354dc6c 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1518,7 +1518,7 @@ static void DrawTile_Track(TileInfo *ti)
if (IsRailWaypoint(m5) && HASBIT(_m[ti->tile].m3, 4)) {
// look for customization
- const StationSpec *stat = GetCustomStation(STAT_CLASS_WAYP, _m[ti->tile].m4);
+ const StationSpec *stat = GetCustomStation(STAT_CLASS_WAYP, _m[ti->tile].m4 + 1);
if (stat != NULL) {
DrawTileSeqStruct const *seq;