src/rail_gui.cpp
branchNewGRF_ports
changeset 6718 5a8b295aa345
parent 6573 7624f942237f
child 6719 4cc327ad39d5
equal deleted inserted replaced
6717:b25cf31294e9 6718:5a8b295aa345
   697 		DrawPixelInfo tmp_dpi, *old_dpi;
   697 		DrawPixelInfo tmp_dpi, *old_dpi;
   698 		const StationSpec *statspec = newstations ? GetCustomStationSpec(_railstation.station_class, _railstation.station_type) : NULL;
   698 		const StationSpec *statspec = newstations ? GetCustomStationSpec(_railstation.station_class, _railstation.station_type) : NULL;
   699 
   699 
   700 		if (WP(w,def_d).close) return;
   700 		if (WP(w,def_d).close) return;
   701 
   701 
       
   702 		_thd.airport_template = false;  // ensure irregular airport support disabled
       
   703 
   702 		if (_railstation.dragdrop) {
   704 		if (_railstation.dragdrop) {
   703 			SetTileSelectSize(1, 1);
   705 			SetTileSelectSize(1, 1);
   704 		} else {
   706 		} else {
   705 			int x = _railstation.numtracks;
   707 			int x = _railstation.numtracks;
   706 			int y = _railstation.platlength;
   708 			int y = _railstation.platlength;