(svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway.

pull/155/head
frosch 14 years ago
parent 67b48537a5
commit 6254ffc4d7

@ -614,6 +614,7 @@ struct RefitWindow : public Window {
r.top + WD_FRAMERECT_TOP, INVALID_VEHICLE, this->hscroll != NULL ? this->hscroll->GetPosition() : 0);
/* Highlight selected vehicles. */
if (this->order != INVALID_VEH_ORDER_ID) break;
int x = 0;
switch (v->type) {
case VEH_TRAIN: {

Loading…
Cancel
Save