From 3c92d8028b5155333ce142e96d8c977071a4ff73 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 27 Feb 2012 17:25:04 +0100 Subject: [PATCH] csqcmodels: don't set frametime to death time when frametime is zero, to fix death anim bug --- qcsrc/client/csqcmodel_hooks.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 6010cf0a5..6928cd380 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -228,7 +228,7 @@ void CSQCPlayer_FallbackFrame_PostUpdate(float isnew) if(isnew) { #define FIX_FRAMETIME(f,ft) \ - if(IS_DEAD_FRAME(self.f)) \ + if(IS_DEAD_FRAME(self.f) && self.ft != 0) \ { \ self.ft = self.death_time; \ } -- 2.39.2