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
commita7fe1495cd617aa18b2e0cba929a54c2c4e4c2a6 (patch)
tree8df2ec568fad1237f5e29b2073cc5d1998b75087
parentff8223150aa28b1dfec8d1697d27d6aa96c18f93 (diff)
downloadopenttd-a7fe1495cd617aa18b2e0cba929a54c2c4e4c2a6.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;