From: Rudolf Polzer Date: Mon, 27 Feb 2012 16:30:56 +0000 (+0100) Subject: don't do this if death_time is zero X-Git-Tag: xonotic-v0.6.0~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bd80025e7bae8d4805664dc1bd7f241178cb1230;p=xonotic%2Fxonotic-data.pk3dir.git don't do this if death_time is zero --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 6928cd380..d7eddbcd8 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) && self.ft != 0) \ + if(IS_DEAD_FRAME(self.f) && self.ft != 0 && self.death_time != 0) \ { \ self.ft = self.death_time; \ }