road_cmd.c
changeset 2535 149921ee5e27
parent 2511 3eb6cb6b750d
child 2537 5e4ca74e995a
equal deleted inserted replaced
2534:2dd8d362639b 2535:149921ee5e27
   820 	if (!(_display_opt & DO_FULL_DETAIL) || _cur_dpi->zoom == 2)
   820 	if (!(_display_opt & DO_FULL_DETAIL) || _cur_dpi->zoom == 2)
   821 		return;
   821 		return;
   822 
   822 
   823 	if (ground_type >= 6) {
   823 	if (ground_type >= 6) {
   824 		// Road works
   824 		// Road works
   825 		DrawGroundSprite(0x586 + (HASBIT(road, 4) ? 0 : 1));
   825 		DrawGroundSprite(HASBIT(road, 4) ? SPR_EXCAVATION_X : SPR_EXCAVATION_Y);
   826 		return;
   826 		return;
   827 	}
   827 	}
   828 
   828 
   829 	// Draw extra details.
   829 	// Draw extra details.
   830 	drts = _road_display_table[ground_type][road];
   830 	drts = _road_display_table[ground_type][road];