Maintenance: Fold alias global gl_24769 g_navigationWindow (0x14a67f4) into its evidenced owner member g_windowMgr.window_4F174. 0x14

Batch #10400 by ragnarok-clanker: no function's compiled code changes; checked with 13 compiled unit(s), including every includer of Source/UI/Window/UINavigationWnd.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 21:51:45 +00:00
commit 5903e7603e
9 changed files with 23 additions and 27 deletions

View file

@ -2245,8 +2245,8 @@ void CGameMode::ProcessUiMessage(unsigned char* message) {
break;
}
case 908:
if (values->values[0] == 0xCB && g_navigationWindow != nullptr) {
g_navigationWindow->SendMsg(nullptr, values->values[1], values->values[2], reinterpret_cast<std::intptr_t>(&values->values[3]), 0, 0);
if (values->values[0] == 0xCB && g_windowMgr.window_4F174 != nullptr) {
g_windowMgr.window_4F174->SendMsg(nullptr, values->values[1], values->values[2], reinterpret_cast<std::intptr_t>(&values->values[3]), 0, 0);
}
break;
case 909:
@ -2264,8 +2264,8 @@ void CGameMode::ProcessUiMessage(unsigned char* message) {
std::memcpy(&states[0], values->values, states.size());
g_windowMgr.CloseWindow(0x1A);
g_navigationManager.LoadStates(states);
if (g_navigationWindow != nullptr) {
static_cast<UINavigationV4Wnd*>(g_navigationWindow)->FillRouteGroups();
if (g_windowMgr.window_4F174 != nullptr) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->FillRouteGroups();
}
break;
}