main menu: print current mod

This commit is contained in:
Eric Wasylishen 2017-06-08 15:38:29 -06:00
parent 7ffb0a081b
commit 7a22f5738a

View file

@ -2792,6 +2792,19 @@ void M_Draw (void)
break;
}
// ericw -- print active mod
{
const char *modname = COM_SkipPath(com_gamedir);
if (q_strcasecmp("id1", modname))
{
char active_mod[1024];
q_snprintf(active_mod, sizeof(active_mod), "current mod: %s", modname);
GL_SetCanvas (CANVAS_BOTTOMLEFT);
M_Print(0, 24*8, active_mod);
}
}
if (m_entersound)
{
S_LocalSound ("misc/menu2.wav");