mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
f6755c56b8
commit
7bcea9a968
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue