Maintenance: Forced (maintainer). gl_24792 'g_charViewMode' (0x013495BC) is not a separate global: it is g_modeMgr.gameMode (g_modeMg
Batch #13844 by ragnarok-clanker: forced by an admin (0 lower score(s), 0 changed function(s)); checked with 53 compiled unit(s), including every includer of Source/UI/Window/UINewSelectCharWnd.h.
This commit is contained in:
parent
4265d7b1c4
commit
d9c7622531
15 changed files with 55 additions and 58 deletions
|
|
@ -3036,8 +3036,8 @@ int CGameMode::SendMsg(int event, int argument1, int argument2, int argument3, i
|
|||
g_windowMgr.CloseWindow(0xC);
|
||||
} else {
|
||||
g_windowMgr.CloseWindow(0xFF);
|
||||
if (g_charViewMode != nullptr) {
|
||||
static_cast<CMode*>(g_charViewMode)->SendMsg(0x28, 0, 0, 0, 0);
|
||||
if (g_modeMgr.gameMode != nullptr) {
|
||||
g_modeMgr.gameMode->SendMsg(0x28, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
g_session.ClearTradeItems();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue