From 30b1a570fdbd469f428e8f3c1760ee67cf36280a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 11 May 2016 08:13:46 +1000 Subject: [PATCH] Don't set the slowmo cvar during demo playback, possible fix for demo slowmo issues --- qcsrc/client/view.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 68711ef3b..4696b5ef5 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1393,7 +1393,7 @@ void CSQC_UpdateView(float w, float h) view_quality = 1; // this needs to be updated manually now due to the destruction of engine physics stats - if(autocvar_slowmo != STAT(MOVEVARS_TIMESCALE)) + if(!isdemo() && autocvar_slowmo != STAT(MOVEVARS_TIMESCALE)) cvar_set("slowmo", ftos(STAT(MOVEVARS_TIMESCALE))); button_attack2 = PHYS_INPUT_BUTTON_ATCK2(this); -- 2.39.2