Maintenance: [forced, user-approved] G19 follow-up (bug fix): UIWindowMgr::ShowDropDown fn_17217 0xAA27B0 declared 'CUIDropDownBox*&

Batch #10234 by ragnarok-clanker: forced by an admin (0 lower score(s), 1 changed function(s)); checked with 1 compiled unit(s).
This commit is contained in:
ragnarok-clanker 2026-11-03 10:24:29 +00:00
commit 63fce29f1a

View file

@ -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<CUIDropDownBox*&>(this->window_0A30);
if (popup && popup->geometry.visible != 0) {
popup->Detach();
popup->Show(0);