use Steven's patch andallow for the 'demos' command to work in !fitzmod :

host_cmd.c (Host_Startdemos_f): reverted rev.50 change. when not fitzmode,
made it to directly go to the menu instead CL_NetxDemo().
menu.c (M_Main_Key): when not fitzmode, do not CL_NextDemo() for K_ESCAPE
case.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@61 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-02-19 13:32:21 +00:00
parent a15c8c8bbe
commit df060bf72b
2 changed files with 10 additions and 8 deletions

View file

@ -2138,14 +2138,6 @@ void Host_Startdemos_f (void)
return;
}
if (!fitzmode)
{ /* QuakeSpasm customization: */
cls.demonum = -1;
/* go straight to menu */
Cbuf_InsertText("menu_main");
return;
}
c = Cmd_Argc() - 1;
if (c > MAX_DEMOS)
{
@ -2160,10 +2152,18 @@ void Host_Startdemos_f (void)
if (!sv.active && cls.demonum != -1 && !cls.demoplayback)
{
cls.demonum = 0;
if (!fitzmode)
{ /* QuakeSpasm customization: */
/* go straight to menu, no CL_NextDemo */
Cbuf_InsertText("menu_main");
return;
}
CL_NextDemo ();
}
else
{
cls.demonum = -1;
}
}

View file

@ -305,6 +305,8 @@ void M_Main_Key (int key)
key_dest = key_game;
m_state = m_none;
cls.demonum = m_save_demonum;
if (!fitzmode) /* QuakeSpasm customization: */
break;
if (cls.demonum != -1 && !cls.demoplayback && cls.state != ca_connected)
CL_NextDemo ();
break;