Merge remote-tracking branch 'origin/terencehill/freezetag_fixes'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index b57c18a17872ccb4552e73398b03b1c00b2aadc1..608d3595952d42717cbbecf349f38a51944cac1d 100644 (file)
@@ -272,7 +272,9 @@ void player_anim (void)
 
        if (!self.animstate_override)
        {
-               if (!(self.flags & FL_ONGROUND) || self.BUTTON_JUMP)
+               if (self.freezetag_frozen)
+                       setanim(self, self.anim_idle, TRUE, FALSE, FALSE);
+               else if (!(self.flags & FL_ONGROUND) || self.BUTTON_JUMP)
                {
                        if (self.crouch)
                        {