From: Rudolf Polzer Date: Thu, 22 Dec 2011 18:35:39 +0000 (+0100) Subject: try to fix demo playback of csqcmodel demos X-Git-Tag: xonotic-v0.6.0~74^2~75^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5e77e26d18250ff16a6c74a60890d75e44e87969;p=xonotic%2Fxonotic-data.pk3dir.git try to fix demo playback of csqcmodel demos --- diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index 9c62bbc5f..3f31e9604 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -156,9 +156,9 @@ void CSQCPlayer_SetCamera() self = csqcplayer; #ifdef COMPAT_XON050_ENGINE - if(servercommandframe == 0 || !(checkextension("DP_CSQC_V_CALCREFDEF") || checkextension("DP_CSQC_V_CALCREFDEF_WIP1"))) + if(servercommandframe == 0 || clientcommandframe == 0 || !(checkextension("DP_CSQC_V_CALCREFDEF") || checkextension("DP_CSQC_V_CALCREFDEF_WIP1"))) #else - if(servercommandframe == 0) + if(servercommandframe == 0 || clientcommandframe == 0) #endif { InterpolateOrigin_Do();