mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 01:29:10 +00:00
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user