From a7fe1495cd617aa18b2e0cba929a54c2c4e4c2a6 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 12 Nov 2005 00:29:13 +0000 Subject: (svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/ --- rail_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2