mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
This commit is contained in:
parent
794af62286
commit
2dc0a33eb7
@ -1457,7 +1457,7 @@ public:
|
||||
{
|
||||
_smallmap_industry_highlight = INVALID_INDUSTRYTYPE;
|
||||
this->overlay = std::make_unique<LinkGraphOverlay>(this, WID_SM_MAP, 0, this->GetOverlayCompanyMask(), 1);
|
||||
this->InitNested(window_number);
|
||||
this->CreateNestedTree();
|
||||
this->LowerWidget(WID_SM_CONTOUR + this->map_type);
|
||||
|
||||
this->RebuildColourIndexIfNecessary();
|
||||
@ -1468,6 +1468,7 @@ public:
|
||||
this->SetWidgetLoweredState(WID_SM_SHOW_IND_NAMES, this->show_ind_names);
|
||||
|
||||
this->SetupWidgetData();
|
||||
this->FinishInitNested(window_number);
|
||||
|
||||
this->SetZoomLevel(ZLC_INITIALIZE, nullptr);
|
||||
this->SmallMapCenterOnCurrentPos();
|
||||
|
Loading…
Reference in New Issue
Block a user