mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
debug output for EXEC_NOW
This commit is contained in:
parent
8d1a5f8b32
commit
8bcb33892e
1 changed files with 2 additions and 0 deletions
|
@ -144,9 +144,11 @@ void Cbuf_ExecuteText (int exec_when, const char *text)
|
||||||
{
|
{
|
||||||
case EXEC_NOW:
|
case EXEC_NOW:
|
||||||
if (text && strlen(text) > 0) {
|
if (text && strlen(text) > 0) {
|
||||||
|
Com_DPrintf(S_COLOR_YELLOW "EXEC_NOW %s\n", text);
|
||||||
Cmd_ExecuteString (text);
|
Cmd_ExecuteString (text);
|
||||||
} else {
|
} else {
|
||||||
Cbuf_Execute();
|
Cbuf_Execute();
|
||||||
|
Com_DPrintf(S_COLOR_YELLOW "EXEC_NOW %s\n", cmd_text.data);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EXEC_INSERT:
|
case EXEC_INSERT:
|
||||||
|
|
Loading…
Reference in a new issue