mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Be verbose about the interpreter changing
This commit is contained in:
parent
39d8a90336
commit
e6e28d3e5e
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,7 @@ Con_Interp_f(cvar_t* var)
|
||||||
|
|
||||||
if (con_module && interp)
|
if (con_module && interp)
|
||||||
{
|
{
|
||||||
|
Sys_Printf("Switching to interpreter '%s'\n", var->string);
|
||||||
cbuf_t *new = Cbuf_New(interp);
|
cbuf_t *new = Cbuf_New(interp);
|
||||||
|
|
||||||
if (con_module->data->console->cbuf)
|
if (con_module->data->console->cbuf)
|
||||||
|
@ -87,6 +88,10 @@ Con_Interp_f(cvar_t* var)
|
||||||
}
|
}
|
||||||
con_module->data->console->cbuf = new;
|
con_module->data->console->cbuf = new;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Sys_Printf("Unknown interpreter '%s'\n", var->string);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__ ((visibility ("default")))
|
__attribute__ ((visibility ("default")))
|
||||||
|
|
Loading…
Reference in a new issue