From: Rudolf Polzer Date: Thu, 19 Jan 2012 20:44:41 +0000 (+0100) Subject: jumppad: don't set jump anim on dead players. Fixes #1029 X-Git-Tag: xonotic-v0.6.0~111^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef0b1804069b8d29084bb863197b371457e669c1;p=xonotic%2Fxonotic-data.pk3dir.git jumppad: don't set jump anim on dead players. Fixes #1029 --- diff --git a/qcsrc/server/t_jumppads.qc b/qcsrc/server/t_jumppads.qc index bf17e3faf..cce0aab32 100644 --- a/qcsrc/server/t_jumppads.qc +++ b/qcsrc/server/t_jumppads.qc @@ -200,6 +200,7 @@ void trigger_push_touch() other.lastteleporttime = time; if (!other.animstate_override) + if (other.deadflag == DEAD_NO) { if (other.crouch) setanim(other, other.anim_duckjump, FALSE, TRUE, TRUE);