road_cmd.c
changeset 2872 2c0da1a94364
parent 2865 97cb78a1d02c
child 2916 b687477adcba
equal deleted inserted replaced
2871:1ac651552db5 2872:2c0da1a94364
   809 	// Return if full detail is disabled, or we are zoomed fully out.
   809 	// Return if full detail is disabled, or we are zoomed fully out.
   810 	if (!(_display_opt & DO_FULL_DETAIL) || _cur_dpi->zoom == 2) return;
   810 	if (!(_display_opt & DO_FULL_DETAIL) || _cur_dpi->zoom == 2) return;
   811 
   811 
   812 	if (ground_type >= 6) {
   812 	if (ground_type >= 6) {
   813 		// Road works
   813 		// Road works
   814 		DrawGroundSprite(HASBIT(road, 4) ? SPR_EXCAVATION_X : SPR_EXCAVATION_Y);
   814 		DrawGroundSprite(HASBIT(road, 3) ? SPR_EXCAVATION_X : SPR_EXCAVATION_Y);
   815 		return;
   815 		return;
   816 	}
   816 	}
   817 
   817 
   818 	// Draw extra details.
   818 	// Draw extra details.
   819 	drts = _road_display_table[ground_type][road];
   819 	drts = _road_display_table[ground_type][road];