]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
make cloned bodies csqcmodels too
authorRudolf Polzer <divverent@alientrap.org>
Thu, 22 Dec 2011 18:39:07 +0000 (19:39 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 22 Dec 2011 18:39:07 +0000 (19:39 +0100)
qcsrc/server/cl_player.qc

index 7a667f370976fc0f90dcaa2f8e3da76232799460..4ed480f9df9ed9befff5d445a688561c990fe142 100644 (file)
@@ -185,6 +185,8 @@ void CopyBody(float keepvelocity)
        if(self.colormap <= maxclients && self.colormap > 0)
                self.colormap = 1024 + self.clientcolors;
 
+       CSQCMODEL_AUTOINIT();
+
        self = oldself;
 }