fixed issue when using +commands in the console

This commit is contained in:
Magnus Auvinen 2010-06-06 14:31:16 +02:00
parent 3d079a35e9
commit 442e6e1431

View file

@ -273,7 +273,8 @@ CConsole::CCommand *CConsole::FindCommand(const char *pName)
void CConsole::ExecuteLine(const char *pStr) void CConsole::ExecuteLine(const char *pStr)
{ {
CConsole::ExecuteLineStroked(1, pStr); CConsole::ExecuteLineStroked(1, pStr); // press it
CConsole::ExecuteLineStroked(0, pStr); // then release it
} }