From e8d8624b91a787efabc2600b326a2c150e36fcc2 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 3 Nov 2026 21:50:41 +0000 Subject: [PATCH] Maintenance: Fold alias global gl_25099 g_vendingOpenWindow (0x1457974) into its evidenced owner member g_windowMgr.unknown_02F4. 0x1 Batch #10398 by ragnarok-clanker: no function's compiled code changes; checked with 1 compiled unit(s). --- Source/Client/Mode/GameModePackets.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Source/Client/Mode/GameModePackets.cpp b/Source/Client/Mode/GameModePackets.cpp index 5b98c98f..36a3fd9a 100644 --- a/Source/Client/Mode/GameModePackets.cpp +++ b/Source/Client/Mode/GameModePackets.cpp @@ -140,9 +140,6 @@ int g_whisperRecord; // GLOBAL: gl_25098 UIWindow* g_saleResultWindow; -// GLOBAL: gl_25099 -UIWindow* g_vendingOpenWindow; - // GLOBAL: gl_25100 UIWindow* g_vendingOpenResultWindow; @@ -1867,8 +1864,8 @@ void __stdcall sub_D08110(int field8, int itemIdWord, int quantityWord, int fiel g_windowMgr.SendNotice( 1, reinterpret_cast(FormatOwnedString(LookupMessage(0xE7), item.DisplayName(0).c_str(), quantity).c_str()), 0xFFFF64, 0, 0, 0 ); - if (g_vendingOpenWindow != nullptr) { - g_vendingOpenWindow->SendMsg(nullptr, 0x17, 0, 0, 0, 0); + if (g_windowMgr.unknown_02F4 != nullptr) { + g_windowMgr.unknown_02F4->SendMsg(nullptr, 0x17, 0, 0, 0, 0); } if (g_session.GetList9Size() == 0) { g_windowMgr.SendNotice(1, reinterpret_cast(LookupMessage(0x137)), 0xFF00, 0, 0, 0);