mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
This commit is contained in:
parent
ff8223150a
commit
a7fe1495cd
|
@ -1518,7 +1518,7 @@ static void DrawTile_Track(TileInfo *ti)
|
||||||
|
|
||||||
if (IsRailWaypoint(m5) && HASBIT(_m[ti->tile].m3, 4)) {
|
if (IsRailWaypoint(m5) && HASBIT(_m[ti->tile].m3, 4)) {
|
||||||
// look for customization
|
// 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) {
|
if (stat != NULL) {
|
||||||
DrawTileSeqStruct const *seq;
|
DrawTileSeqStruct const *seq;
|
||||||
|
|
Loading…
Reference in New Issue