src/rail_gui.cpp
changeset 8829 d0a83a807954
parent 8810 33066120c736
child 8846 1b90782b2c4e
equal deleted inserted replaced
8828:28784a133c57 8829:d0a83a807954
   599 		_place_proc(e->we.place.tile);
   599 		_place_proc(e->we.place.tile);
   600 		return;
   600 		return;
   601 
   601 
   602 	case WE_PLACE_DRAG: {
   602 	case WE_PLACE_DRAG: {
   603 		/* no dragging if you have pressed the convert button */
   603 		/* no dragging if you have pressed the convert button */
   604 		if (_convert_signal_button && w->IsWidgetLowered(RTW_BUILD_SIGNALS)) return;
   604 		if (FindWindowById(WC_BUILD_SIGNAL, 0) != NULL && _convert_signal_button && w->IsWidgetLowered(RTW_BUILD_SIGNALS)) return;
   605 
   605 
   606 		VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.select_method);
   606 		VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.select_method);
   607 		return;
   607 		return;
   608 	}
   608 	}
   609 
   609