Fix F10 button for server list
This commit is contained in:
parent
d8128316b6
commit
cbd5c6f55a
@ -555,7 +555,7 @@ namespace game_console
|
|||||||
{
|
{
|
||||||
if (key == game::keyNum_t::K_F10)
|
if (key == game::keyNum_t::K_F10)
|
||||||
{
|
{
|
||||||
if (game::mp::svs_clients[local_client_num].header.state >= 1)
|
if (!game::Com_InFrontEnd())
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,9 @@ namespace game
|
|||||||
|
|
||||||
WEAK symbol<void(void*, void*)> AimAssist_AddToTargetList{0, 0x14009D0F0};
|
WEAK symbol<void(void*, void*)> AimAssist_AddToTargetList{0, 0x14009D0F0};
|
||||||
|
|
||||||
WEAK symbol<void()> Com_Frame_Try_Block_Function{0, 0x1400D8310};
|
WEAK symbol<void()> Com_Frame_Try_Block_Function{0x1401CE8D0, 0x1400D8310};
|
||||||
WEAK symbol<CodPlayMode()> Com_GetCurrentCoDPlayMode{0, 0x1405039A0};
|
WEAK symbol<CodPlayMode()> Com_GetCurrentCoDPlayMode{0, 0x1405039A0};
|
||||||
|
WEAK symbol<bool()> Com_InFrontEnd{0x1400E4B30, 0x140176A30};
|
||||||
WEAK symbol<void(float, float, int)> Com_SetSlowMotion{0, 0x1400DB790};
|
WEAK symbol<void(float, float, int)> Com_SetSlowMotion{0, 0x1400DB790};
|
||||||
WEAK symbol<void(errorParm code, const char* message, ...)> Com_Error{0x1403509C0, 0x1400D78A0};
|
WEAK symbol<void(errorParm code, const char* message, ...)> Com_Error{0x1403509C0, 0x1400D78A0};
|
||||||
WEAK symbol<void()> Com_Quit_f{0x140352BE0, 0x1400DA830};
|
WEAK symbol<void()> Com_Quit_f{0x140352BE0, 0x1400DA830};
|
||||||
|
Loading…
Reference in New Issue
Block a user