rail_cmd.c
changeset 497 4d1c889526ee
parent 473 77f0ef57e7cf
child 507 04b5403aaf6b
equal deleted inserted replaced
496:221efd270762 497:4d1c889526ee
  1423                                 byte xsize, byte ysize, byte zsize)
  1423                                 byte xsize, byte ysize, byte zsize)
  1424 {
  1424 {
  1425 	if (image & 0x8000)
  1425 	if (image & 0x8000)
  1426 		image |= _drawtile_track_palette;
  1426 		image |= _drawtile_track_palette;
  1427 	image += tracktype_offs;
  1427 	image += tracktype_offs;
  1428 	if (!(_display_opt & DO_TRANS_BUILDINGS)) // show transparent depots
  1428 	if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots
  1429 		image = (image & 0x3FFF) | 0x3224000;
  1429 		image = (image & 0x3FFF) | 0x3224000;
  1430 	AddSortableSpriteToDraw(image, ti->x + x, ti->y + y, xsize, ysize, zsize, ti->z + z);
  1430 	AddSortableSpriteToDraw(image, ti->x + x, ti->y + y, xsize, ysize, zsize, ti->z + z);
  1431 }
  1431 }
  1432 
  1432 
  1433 /* This hacks together some dummy one-shot Station structure for a waypoint. */
  1433 /* This hacks together some dummy one-shot Station structure for a waypoint. */