From 8bcb33892e6b55f59181b9b20de46dafd493a381 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sun, 6 Apr 2008 12:59:30 +0000 Subject: [PATCH] debug output for EXEC_NOW --- code/qcommon/cmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/qcommon/cmd.c b/code/qcommon/cmd.c index 5af0f954..8ce15266 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: