equal
deleted
inserted
replaced
1322 |
1322 |
1323 if (statspec != NULL) { |
1323 if (statspec != NULL) { |
1324 DrawTileSeqStruct const *seq; |
1324 DrawTileSeqStruct const *seq; |
1325 // emulate station tile - open with building |
1325 // emulate station tile - open with building |
1326 const DrawTileSprites *cust = &statspec->renderdata[2 + GetWaypointAxis(ti->tile)]; |
1326 const DrawTileSprites *cust = &statspec->renderdata[2 + GetWaypointAxis(ti->tile)]; |
1327 uint32 relocation = GetCustomStationRelocation(statspec, ComposeWaypointStation(ti->tile), 0); |
1327 uint32 relocation = GetCustomStationRelocation(statspec, ComposeWaypointStation(ti->tile), ti->tile, 0); |
1328 |
1328 |
1329 /* We don't touch the 0x8000 bit. In all this |
1329 /* We don't touch the 0x8000 bit. In all this |
1330 * waypoint code, it is used to indicate that |
1330 * waypoint code, it is used to indicate that |
1331 * we should offset by railtype, but we always |
1331 * we should offset by railtype, but we always |
1332 * do that for custom ground sprites and never |
1332 * do that for custom ground sprites and never |