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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1218 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2015-05-29 18:33:19 +00:00
parent 6e8f4cd5dc
commit b791f5379d

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;