(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 fc8997bcc3
commit 0b2c6bc2b3

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