mirror of https://github.com/OpenTTD/OpenTTD
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
parent
9751fbe4dc
commit
25a1c59abb
|
@ -1019,9 +1019,10 @@ struct DepotWindow : Window {
|
||||||
if (this->sel != INVALID_VEHICLE) {
|
if (this->sel != INVALID_VEHICLE) {
|
||||||
_cursor.vehchain = _ctrl_pressed;
|
_cursor.vehchain = _ctrl_pressed;
|
||||||
this->InvalidateWidget(DEPOT_WIDGET_MATRIX);
|
this->InvalidateWidget(DEPOT_WIDGET_MATRIX);
|
||||||
|
return ES_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ES_HANDLED;
|
return ES_NOT_HANDLED;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue