diff --git a/Source/Client/Mode/LoginMode.cpp b/Source/Client/Mode/LoginMode.cpp index 20d8af39..ee7751b6 100644 --- a/Source/Client/Mode/LoginMode.cpp +++ b/Source/Client/Mode/LoginMode.cpp @@ -3234,7 +3234,7 @@ int CLoginMode::SendMsg(int event, int argument1, int argument2, int argument3, } case 10018: if (argument2 == 201) { - static_cast(g_charViewMode)->SendMsg(2, 0, 0, 0, 0); + g_modeMgr.gameMode->SendMsg(2, 0, 0, 0, 0); return 0; } this->pendingCursorType = 2;