]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
jumppad: don't set jump anim on dead players. Fixes #1029
authorRudolf Polzer <divverent@alientrap.org>
Thu, 19 Jan 2012 20:44:41 +0000 (21:44 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 19 Jan 2012 20:44:41 +0000 (21:44 +0100)
qcsrc/server/t_jumppads.qc

index bf17e3faf0ece436d0508dc64c4a9bc517103566..cce0aab32bb5f062ca66a853f2a7996dfafef5c4 100644 (file)
@@ -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);