From 4de9e98fd18f57026efb818157842ae9e9590628 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 20 Feb 2007 00:05:42 +0000 Subject: [PATCH] - Fixed: DEM_WIPEON/OFF commands should be ignored during demo playback and not pause the game, or the whole thing will be out of sync. SVN r489 (trunk) --- docs/rh-log.txt | 2 ++ src/p_tick.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index ba21019f85..7d6eff2417 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,6 @@ February 19, 2007 +- Fixed: DEM_WIPEON/OFF commands should be ignored during demo playback and + not pause the game, or the whole thing will be out of sync. - Fixed: Playing a demo in windowed mode no longer grabs the mouse. February 14, 2007 diff --git a/src/p_tick.cpp b/src/p_tick.cpp index 89f75914ce..99e810b4ee 100644 --- a/src/p_tick.cpp +++ b/src/p_tick.cpp @@ -72,7 +72,7 @@ void P_Ticker (void) r_NoInterpolate = true; // run the tic - if (paused || playerswiping || P_CheckTickerPaused()) + if (paused || (playerswiping && !demoplayback) || P_CheckTickerPaused()) return; S_ResumeSound ();