]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix colormap of clones/corpses
authorRudolf Polzer <divverent@alientrap.org>
Fri, 30 Dec 2011 20:05:02 +0000 (21:05 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 30 Dec 2011 20:05:02 +0000 (21:05 +0100)
qcsrc/server/cl_player.qc

index deb08aa9c618769bdb3bdcc67285e0d7447160fc..4d20ed736e9a544abe83ecdfef0f892f56854b5c 100644 (file)
@@ -196,7 +196,7 @@ void CopyBody(float keepvelocity)
        Drag_MoveDrag(oldself, self);
 
        if(self.colormap <= maxclients && self.colormap > 0)
-               self.colormap = 1024 + self.clientcolors;
+               self.colormap = 1024 + oldself.clientcolors;
 
        CSQCMODEL_AUTOINIT();
        self.CopyBody_nextthink = oldself.nextthink;