From 7bcea9a9688e0e33a4a1f4425b00f2ba1bf6e202 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 29 May 2015 18:33:19 +0000 Subject: [PATCH] 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 --- Quake/host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/host_cmd.c b/Quake/host_cmd.c index 4e452fc7..10a305c6 100644 --- a/Quake/host_cmd.c +++ b/Quake/host_cmd.c @@ -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;