]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
copybody: also copy dphitcontentsmask
authorRudolf Polzer <divverent@alientrap.org>
Mon, 9 Jan 2012 19:36:41 +0000 (20:36 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 9 Jan 2012 19:36:41 +0000 (20:36 +0100)
qcsrc/server/cl_player.qc

index 75f1c076b9312953d1a0fa84b6d01634257cd625..8065d7f4db53f61ab64d55f27a84ddee0880196a 100644 (file)
@@ -166,6 +166,7 @@ void CopyBody(float keepvelocity)
        self.animstate_endtime = oldself.animstate_endtime;
        self.animstate_override = oldself.animstate_override;
        self.animstate_looping = oldself.animstate_looping;
+       self.dphitcontentsmask = oldself.dphitcontentsmask;
        self.death_time = oldself.death_time;
        self.frame = oldself.frame;
        self.pain_finished = oldself.pain_finished;