From e6e28d3e5e0f3163690cff56d6224c30ef67814c Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Sun, 18 Mar 2007 07:12:23 +0000 Subject: [PATCH] Be verbose about the interpreter changing --- libs/console/console.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/console/console.c b/libs/console/console.c index 5f6b3ddb8..1f61d811d 100644 --- a/libs/console/console.c +++ b/libs/console/console.c @@ -77,6 +77,7 @@ Con_Interp_f(cvar_t* var) if (con_module && interp) { + Sys_Printf("Switching to interpreter '%s'\n", var->string); cbuf_t *new = Cbuf_New(interp); if (con_module->data->console->cbuf) @@ -87,6 +88,10 @@ Con_Interp_f(cvar_t* var) } con_module->data->console->cbuf = new; } + else + { + Sys_Printf("Unknown interpreter '%s'\n", var->string); + } } __attribute__ ((visibility ("default")))