summaryrefslogtreecommitdiff
path: root/src/qcommon/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/cmd.c')
-rw-r--r--src/qcommon/cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcommon/cmd.c b/src/qcommon/cmd.c
index 7495bf1c..97687467 100644
--- a/src/qcommon/cmd.c
+++ b/src/qcommon/cmd.c
@@ -145,9 +145,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: