mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Don't stop hooking when player is chatting
This commit is contained in:
parent
c999225fa7
commit
36568b97f2
|
@ -137,7 +137,7 @@ int CControls::SnapInput(int *pData)
|
||||||
// we freeze the input if chat or menu is activated
|
// we freeze the input if chat or menu is activated
|
||||||
if(!(m_InputData.m_PlayerFlags&PLAYERFLAG_PLAYING))
|
if(!(m_InputData.m_PlayerFlags&PLAYERFLAG_PLAYING))
|
||||||
{
|
{
|
||||||
OnReset();
|
//OnReset();
|
||||||
|
|
||||||
mem_copy(pData, &m_InputData, sizeof(m_InputData));
|
mem_copy(pData, &m_InputData, sizeof(m_InputData));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue