mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Merge branch 'order_occupancy' into order_occupancy-sx
This commit is contained in:
commit
e9d3e6fad2
@ -770,7 +770,9 @@ public:
|
|||||||
|
|
||||||
this->CreateNestedTree();
|
this->CreateNestedTree();
|
||||||
this->vscroll = this->GetScrollbar(WID_O_SCROLLBAR);
|
this->vscroll = this->GetScrollbar(WID_O_SCROLLBAR);
|
||||||
this->GetWidget<NWidgetStacked>(WID_O_SEL_OCCUPANCY)->SetDisplayedPlane(SZSP_NONE);
|
if (v->owner == _local_company) {
|
||||||
|
this->GetWidget<NWidgetStacked>(WID_O_SEL_OCCUPANCY)->SetDisplayedPlane(SZSP_NONE);
|
||||||
|
}
|
||||||
this->FinishInitNested(v->index);
|
this->FinishInitNested(v->index);
|
||||||
if (v->owner == _local_company) {
|
if (v->owner == _local_company) {
|
||||||
this->DisableWidget(WID_O_EMPTY);
|
this->DisableWidget(WID_O_EMPTY);
|
||||||
|
Loading…
Reference in New Issue
Block a user