rail_cmd.c
changeset 3741 92c022b64b28
parent 3737 1e4df4eb9298
child 3751 ce6408fdb788
equal deleted inserted replaced
3740:4742b3d6f37b 3741:92c022b64b28
  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