From: Rudolf Polzer Date: Thu, 13 Dec 2012 09:46:04 +0000 (+0100) Subject: fix lerping in the non-animblend case X-Git-Tag: xonotic-v0.7.0~99^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e7dd10ef1236e2b670cc95d7ae63efcdd07272e4;p=xonotic%2Fxonotic-data.pk3dir.git fix lerping in the non-animblend case --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 02ce4bcdd..12defdfd7 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -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; } }