equal
deleted
inserted
replaced
1516 |
1516 |
1517 if (ti->tileh != 0) DrawFoundation(ti, ti->tileh); |
1517 if (ti->tileh != 0) DrawFoundation(ti, ti->tileh); |
1518 |
1518 |
1519 if (IsRailWaypoint(m5) && HASBIT(_m[ti->tile].m3, 4)) { |
1519 if (IsRailWaypoint(m5) && HASBIT(_m[ti->tile].m3, 4)) { |
1520 // look for customization |
1520 // look for customization |
1521 const StationSpec *stat = GetCustomStation(STAT_CLASS_WAYP, _m[ti->tile].m4); |
1521 const StationSpec *stat = GetCustomStation(STAT_CLASS_WAYP, _m[ti->tile].m4 + 1); |
1522 |
1522 |
1523 if (stat != NULL) { |
1523 if (stat != NULL) { |
1524 DrawTileSeqStruct const *seq; |
1524 DrawTileSeqStruct const *seq; |
1525 // emulate station tile - open with building |
1525 // emulate station tile - open with building |
1526 const DrawTileSprites *cust = &stat->renderdata[2 + (m5 & 0x1)]; |
1526 const DrawTileSprites *cust = &stat->renderdata[2 + (m5 & 0x1)]; |