diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/engine/shared/console.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/shared/console.cpp b/src/engine/shared/console.cpp index 032ff2ae..3fd73543 100644 --- a/src/engine/shared/console.cpp +++ b/src/engine/shared/console.cpp @@ -247,6 +247,9 @@ void CConsole::ExecuteLineStroked(int Stroke, const char *pStr) if(ParseStart(&Result, pStr, (pEnd-pStr) + 1) != 0) return; + if (!*Result.m_pCommand) + return; + CCommand *pCommand = FindCommand(Result.m_pCommand, m_FlagMask); if(pCommand) |