diff options
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 28c209013..11ef35b5c 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1777,7 +1777,6 @@ public: this->FinishInitNested(desc, 0); this->LowerWidget(SLWW_DRIVES_DIRECTORIES_LIST); - this->vscroll.SetCapacity(this->GetWidget<NWidgetBase>(SLWW_DRIVES_DIRECTORIES_LIST)->current_y / this->resize.step_height); /* pause is only used in single-player, non-editor mode, non-menu mode. It * will be unpaused in the WE_DESTROY event handler. */ |