diff options
| author | oy <Tom_Adams@web.de> | 2010-06-18 20:32:52 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-06-18 20:32:52 +0200 |
| commit | ea64b0d7b361308d3b3737ecbac724856bfddda4 (patch) | |
| tree | dab4a10f455ef2916969fe2d8e17fa690fa543e8 /src/game | |
| parent | a5bc567e84902d55fe1f2eec9df621d984a0d808 (diff) | |
| download | zcatch-ea64b0d7b361308d3b3737ecbac724856bfddda4.tar.gz zcatch-ea64b0d7b361308d3b3737ecbac724856bfddda4.zip | |
made the console use the flagmask when looking for command (FindCommand) and removed double "No such command" console message
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/components/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index b323ab48..9e09e6a2 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -184,7 +184,7 @@ void CGameConsole::CInstance::OnInput(IInput::CEvent Event) aBuf[i] = *pSrc; aBuf[i] = 0; - m_pCommand = m_pGameConsole->m_pConsole->GetCommandInfo(aBuf); + m_pCommand = m_pGameConsole->m_pConsole->GetCommandInfo(aBuf, m_CompletionFlagmask); } } } |