From 56cb5c0c8ca3bf333fca522b2f76d2932d00c248 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 13 Nov 2011 20:59:04 +0100 Subject: [PATCH] fix the no-blending case --- qcsrc/csqcmodel/cl_model.qc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qcsrc/csqcmodel/cl_model.qc b/qcsrc/csqcmodel/cl_model.qc index 6fc076b865..a82b36eb58 100644 --- a/qcsrc/csqcmodel/cl_model.qc +++ b/qcsrc/csqcmodel/cl_model.qc @@ -52,7 +52,6 @@ void CSQCModel_InterpolateAnimation_PreNote(float sf) { self.frame2 = self.frame; self.frame2time = self.frame1time; - self.frame1time = time; } #endif } @@ -76,8 +75,6 @@ void CSQCModel_InterpolateAnimation_Note(float sf) #else if(sf & PROPERTY_FRAME) { - self.frame2 = self.frame; - self.frame2time = self.frame1time; self.frame1time = time; } #endif @@ -120,6 +117,7 @@ void CSQCModel_InterpolateAnimation_Do() void CSQCModel_Draw() { InterpolateOrigin_Do(); + // TODO csqcplayers: run prediction here too CSQCModel_InterpolateAnimation_Do(); } -- 2.39.5