]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't set the slowmo cvar during demo playback, possible fix for demo slowmo issues
authorMario <mario@smbclan.net>
Tue, 10 May 2016 22:13:46 +0000 (08:13 +1000)
committerMario <mario@smbclan.net>
Tue, 10 May 2016 22:13:46 +0000 (08:13 +1000)
qcsrc/client/view.qc

index 68711ef3b1ec29b0eebd0719b5ff5cd8702f8138..4696b5ef520f979a310d6c890724f2307ba52552 100644 (file)
@@ -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);