]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix lerping in the non-animblend case
authorRudolf Polzer <divverent@xonotic.org>
Thu, 13 Dec 2012 09:46:04 +0000 (10:46 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 13 Dec 2012 09:46:04 +0000 (10:46 +0100)
qcsrc/client/csqcmodel_hooks.qc

index 02ce4bcdd139ea5d4b6479e9dcb09ff5fb1994a5..12defdfd74ba6abd31abe6fd63662042b292a608 100644 (file)
@@ -636,8 +636,8 @@ void CSQCModel_Hook_PreDraw(float isplayer)
                        else
                        {
                                free_skeleton_from_frames(self);
-                               // just in case, clear these
-                               self.lerpfrac3 = 0;
+                               // just in case, clear these (we're animating in frame and frame3)
+                               self.lerpfrac = 0;
                                self.lerpfrac4 = 0;
                        }
                }