src/airport_gui.cpp
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5649 55c8267c933f
child 5933 0835f3342b79
--- a/src/airport_gui.cpp	Thu Jan 11 13:41:16 2007 +0000
+++ b/src/airport_gui.cpp	Mon Jan 15 20:14:06 2007 +0000
@@ -216,7 +216,7 @@
 			SetWindowDirty(w);
 			break;
 		case 16: case 17:
-			_station_show_coverage = e->we.click.widget - 16;
+			_station_show_coverage = (e->we.click.widget != 16);
 			SetWindowWidgetLoweredState(w, 16, !_station_show_coverage);
 			SetWindowWidgetLoweredState(w, 17, _station_show_coverage);
 			SndPlayFx(SND_15_BEEP);