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

This commit is contained in:
frosch 2011-01-23 13:00:50 +00:00
parent 81ef0dbcfc
commit 890a18c738
1 changed files with 1 additions and 0 deletions

View File

@ -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: {