Host_Pause_f: Allow pausing demos even if cls.demonum != -1, i.e. we are in a demo loop.

The logic to prevent pausing the demo loop was preventing pausing in some valid cases, and there's no special reason not to allow pausing a demo loop.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1218 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Eric Wasylishen 2015-05-29 18:33:19 +00:00
parent f6755c56b8
commit 7bcea9a968

View file

@ -1385,7 +1385,7 @@ Host_Pause_f
void Host_Pause_f (void)
{
//ericw -- demo pause support (inspired by MarkV)
if (cls.demoplayback && cls.demonum == -1) // Don't allow startdemos to be paused
if (cls.demoplayback)
{
cls.demopaused = !cls.demopaused;
cl.paused = cls.demopaused;