diff --git a/Source/UI/Window/UISelCharForUServerWnd.cpp b/Source/UI/Window/UISelCharForUServerWnd.cpp index 85412bff..8e7479ab 100644 --- a/Source/UI/Window/UISelCharForUServerWnd.cpp +++ b/Source/UI/Window/UISelCharForUServerWnd.cpp @@ -78,7 +78,7 @@ void UISelCharForUServerWnd::Slot15(int, int) { } for (int index = 0; index < g_session.unknown_0E94; ++index) { - CharacterInfo* info = reinterpret_cast(static_cast(g_charViewMode)->SendMsg(8, index, 0, 0, 0)); + CharacterInfo* info = reinterpret_cast(g_modeMgr.gameMode->SendMsg(8, index, 0, 0, 0)); if (!info) { continue; }