summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-12 00:29:13 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-12 00:29:13 +0000
commit7bbf614796efa74952790251f3f20f3c4e162be0 (patch)
tree8df2ec568fad1237f5e29b2073cc5d1998b75087
parent12009af1c5fd83a24451155a283fe97926568be8 (diff)
downloadopenttd-7bbf614796efa74952790251f3f20f3c4e162be0.tar.xz
(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
-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;