1
0
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:
smatz
2008-08-16 18:01:23 +00:00
parent 9751fbe4dc
commit 25a1c59abb

View File

@@ -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;
} }
}; };