diff --git a/Source/UI/Lists/UIDropDownBox.cpp b/Source/UI/Lists/UIDropDownBox.cpp index 60c7fb4e..052669f6 100644 --- a/Source/UI/Lists/UIDropDownBox.cpp +++ b/Source/UI/Lists/UIDropDownBox.cpp @@ -64,7 +64,7 @@ void CUIDropDownBox::Paint() { // OFFSET: 0x00AA27B0 // FUNCTION: fn_17217 void UIWindowMgr::ShowDropDown(UIWindow* owner, UIWindow* child, int x, int y) { - CUIDropDownBox*& popup = popup; + CUIDropDownBox*& popup = reinterpret_cast(this->window_0A30); if (popup && popup->geometry.visible != 0) { popup->Detach(); popup->Show(0);