airport_gui.c
changeset 4171 5c6e60c392c3
parent 4077 d4d440dd8925
child 4344 7e123fec5b0b
equal deleted inserted replaced
4170:81bafc4dd1b9 4171:5c6e60c392c3
   144 	switch (e->event) {
   144 	switch (e->event) {
   145 	case WE_PAINT: {
   145 	case WE_PAINT: {
   146 		int sel;
   146 		int sel;
   147 		int rad = 4; // default catchment radious
   147 		int rad = 4; // default catchment radious
   148 		uint32 avail_airports;
   148 		uint32 avail_airports;
   149 		const AirportFTAClass* airport;
   149 		const AirportFTAClass *airport;
   150 
   150 
   151 		if (WP(w,def_d).close) return;
   151 		if (WP(w,def_d).close) return;
   152 
   152 
   153 		sel = _selected_airport_type;
   153 		sel = _selected_airport_type;
   154 		avail_airports = GetValidAirports();
   154 		avail_airports = GetValidAirports();