Codechange: Use EnumBitSet for WindowFlags.
This commit is contained in:
committed by
Peter Nelson
parent
248f369e86
commit
efb05396a7
+1
-1
@@ -377,7 +377,7 @@ public:
|
||||
|
||||
this->FinishInitNested(window_number);
|
||||
|
||||
this->flags |= WF_DISABLE_VP_SCROLL;
|
||||
this->flags.Set(WindowFlag::DisableVpScroll);
|
||||
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WID_TV_VIEWPORT);
|
||||
nvp->InitializeViewport(this, this->town->xy, ScaleZoomGUI(ZOOM_LVL_TOWN));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user