mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
81ef0dbcfc
commit
890a18c738
|
@ -614,6 +614,7 @@ struct RefitWindow : public Window {
|
||||||
r.top + WD_FRAMERECT_TOP, INVALID_VEHICLE, this->hscroll != NULL ? this->hscroll->GetPosition() : 0);
|
r.top + WD_FRAMERECT_TOP, INVALID_VEHICLE, this->hscroll != NULL ? this->hscroll->GetPosition() : 0);
|
||||||
|
|
||||||
/* Highlight selected vehicles. */
|
/* Highlight selected vehicles. */
|
||||||
|
if (this->order != INVALID_VEH_ORDER_ID) break;
|
||||||
int x = 0;
|
int x = 0;
|
||||||
switch (v->type) {
|
switch (v->type) {
|
||||||
case VEH_TRAIN: {
|
case VEH_TRAIN: {
|
||||||
|
|
Loading…
Reference in New Issue