about summary refs log tree commit diff
path: root/src/engine/shared
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-06-06 14:31:16 +0200
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-06-06 14:31:16 +0200
commit442e6e14315350bb52646191c27ef20d88e3e8fc (patch)
tree5de77d6eb0bde1fedf1bef6efccfb8801806e814 /src/engine/shared
parent3d079a35e9f058ee80c39c9ac204c57e042aad6e (diff)
downloadzcatch-442e6e14315350bb52646191c27ef20d88e3e8fc.tar.gz
zcatch-442e6e14315350bb52646191c27ef20d88e3e8fc.zip
fixed issue when using +commands in the console
Diffstat (limited to 'src/engine/shared')
-rw-r--r--src/engine/shared/console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/shared/console.cpp b/src/engine/shared/console.cpp
index c545b7db..eacf9b78 100644
--- a/src/engine/shared/console.cpp
+++ b/src/engine/shared/console.cpp
@@ -273,7 +273,8 @@ CConsole::CCommand *CConsole::FindCommand(const char *pName)
 
 void CConsole::ExecuteLine(const char *pStr)
 {
-	CConsole::ExecuteLineStroked(1, pStr);
+	CConsole::ExecuteLineStroked(1, pStr); // press it
+	CConsole::ExecuteLineStroked(0, pStr); // then release it
 }