fix "sliding corpses" bug in CA
authorfruitiex <fruitiex@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 13 Feb 2010 13:15:09 +0000 (13:15 +0000)
committerfruitiex <fruitiex@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 13 Feb 2010 13:15:09 +0000 (13:15 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8639 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/arena.qc

index ff193f8..5dd01d4 100644 (file)
@@ -253,7 +253,7 @@ void Arena_Warmup()
                }
        }
 
-       if(self.classname == "player")
+       if(self.classname == "player" && self.health > 0)
                self.movetype = MOVETYPE_WALK;
 }