From: Mario Date: Tue, 10 May 2016 22:13:46 +0000 (+1000) Subject: Don't set the slowmo cvar during demo playback, possible fix for demo slowmo issues X-Git-Tag: xonotic-v0.8.2~930 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=30b1a570fdbd469f428e8f3c1760ee67cf36280a;p=xonotic%2Fxonotic-data.pk3dir.git Don't set the slowmo cvar during demo playback, possible fix for demo slowmo issues --- 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);