aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-06 12:59:30 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-06 12:59:30 +0000
commitf15ea9a59f6bbc2ff07d5a84b9acd8ed7b086689 (patch)
treece32a01f4c1d8e8b6ee005b21b7869a89a919bf1
parent64333d1545f9e7230edd0457bb06a95933ccc4c4 (diff)
downloadioquake3-aero-f15ea9a59f6bbc2ff07d5a84b9acd8ed7b086689.tar.gz
ioquake3-aero-f15ea9a59f6bbc2ff07d5a84b9acd8ed7b086689.zip
debug output for EXEC_NOW
git-svn-id: svn://svn.icculus.org/quake3/trunk@1299 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/qcommon/cmd.c b/code/qcommon/cmd.c
index 5af0f95..8ce1526 100644
--- a/code/qcommon/cmd.c
+++ b/code/qcommon/cmd.c
@@ -144,9 +144,11 @@ void Cbuf_ExecuteText (int exec_when, const char *text)
{
case EXEC_NOW:
if (text && strlen(text) > 0) {
+ Com_DPrintf(S_COLOR_YELLOW "EXEC_NOW %s\n", text);
Cmd_ExecuteString (text);
} else {
Cbuf_Execute();
+ Com_DPrintf(S_COLOR_YELLOW "EXEC_NOW %s\n", cmd_text.data);
}
break;
case EXEC_INSERT: