That makes menus a little more friendly with missing images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@646 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fd1f296b93
commit
55d77d3c11
1 changed files with 6 additions and 0 deletions
|
@ -1280,7 +1280,10 @@ void M_Menu_Main_f (void)
|
||||||
SCR_EndLoadingPlaque(); //just in case...
|
SCR_EndLoadingPlaque(); //just in case...
|
||||||
|
|
||||||
if (!Draw_SafeCachePic)
|
if (!Draw_SafeCachePic)
|
||||||
|
{
|
||||||
|
Con_ToggleConsole_f();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (0)
|
if (0)
|
||||||
|
@ -1389,7 +1392,10 @@ void M_Menu_Main_f (void)
|
||||||
MC_AddPicture(mainm, 16, 4, "gfx/qplaque.lmp");
|
MC_AddPicture(mainm, 16, 4, "gfx/qplaque.lmp");
|
||||||
p = Draw_SafeCachePic("gfx/ttl_main.lmp");
|
p = Draw_SafeCachePic("gfx/ttl_main.lmp");
|
||||||
if (!p)
|
if (!p)
|
||||||
|
{
|
||||||
|
Con_ToggleConsole_f();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
MC_AddPicture(mainm, (320-p->width)/2, 4, "gfx/ttl_main.lmp");
|
MC_AddPicture(mainm, (320-p->width)/2, 4, "gfx/ttl_main.lmp");
|
||||||
MC_AddPicture(mainm, 72, 32, "gfx/mainmenu.lmp");
|
MC_AddPicture(mainm, 72, 32, "gfx/mainmenu.lmp");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue