author | peter1138 |
Sat, 12 Nov 2005 00:29:13 +0000 | |
changeset 2626 | c3e8dc0f9152 |
parent 2625 | 19bf7f695537 |
child 2627 | 7a29af37b416 |
rail_cmd.c | file | annotate | diff | comparison | revisions |
--- a/rail_cmd.c Sat Nov 12 00:19:34 2005 +0000 +++ b/rail_cmd.c Sat Nov 12 00:29:13 2005 +0000 @@ -1518,7 +1518,7 @@ 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;