changeset 2626:b7dcc839a38f draft

(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
author peter1138 <peter1138@openttd.org>
date Sat, 12 Nov 2005 00:29:13 +0000
parents bf82704d9f39
children ebd36467d309
files rail_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -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;