]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
we never use classname "corpse"
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 30 Jun 2011 09:48:01 +0000 (11:48 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 30 Jun 2011 09:48:01 +0000 (11:48 +0200)
qcsrc/server/miscfunctions.qc

index 241dc3a99a1e921d853a6f90f1c99e296f2a5487..9e6e705e41107cad57af43275a880093f18a0e75 100644 (file)
@@ -3135,13 +3135,12 @@ float isPushable(entity e)
        switch(e.classname)
        {
                case "body":
-               case "corpse":
                case "droppedweapon":
                case "keepawayball":
                case "nexball_basketball":
                case "nexball_football":
                        return TRUE;
-               case "bullet":
+               case "bullet": // antilagged bullets can't hit this either
                        return FALSE;
        }
        if (e.projectiledeathtype)