]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
disable prediction, use interpolation instead, on old engines
authorRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 15:35:44 +0000 (16:35 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 15:35:44 +0000 (16:35 +0100)
qcsrc/csqcmodel/cl_player.qc

index adbe85977736a2ec16fe828ced49d17c2eb0d66d..4a7cf2e1003e8ed57cebea08230d36a853748455 100644 (file)
@@ -135,7 +135,11 @@ void CSQCPlayer_SetCamera()
                oldself = self;
                self = csqcplayer;
 
+#ifdef COMPAT_XON050_ENGINE
+               if(servercommandframe == 0 || !(checkextension("DP_CSQC_V_CALCREFDEF") || checkextension("DP_CSQC_V_CALCREFDEF_WIP1")))
+#else
                if(servercommandframe == 0)
+#endif
                {
                        InterpolateOrigin_Do();
                        self.view_ofs = '0 0 1' * getstati(STAT_VIEWHEIGHT);