Don't stop hooking when player is chatting

This commit is contained in:
def 2014-01-26 01:53:53 +01:00
parent c999225fa7
commit 36568b97f2

View file

@ -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));