1
0
Fork 0
forked from fte/fteqw

doesn't annoy the user with demos when quitting the menu any more.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@534 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-26 06:05:59 +00:00
parent 5c5d74c562
commit 4d9b310c5c

View file

@ -1260,7 +1260,7 @@ qboolean MC_Main_Key (int key, menu_t *menu) //here purly to restart demos.
key_dest = key_game;
m_state = m_none;
cls.demonum = m_save_demonum;
if (cls.demonum != -1 && !cls.demoplayback && cls.state == ca_disconnected)
if (cls.demonum != -1 && !cls.demoplayback && cls.state == ca_disconnected && COM_CheckParm("-demos"))
CL_NextDemo ();
return true;
}