]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a TODO for reading species client-side
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 16 Jan 2012 20:01:24 +0000 (22:01 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 16 Jan 2012 20:01:24 +0000 (22:01 +0200)
qcsrc/server/g_violence.qc

index ba2426718a571ca706958e8de9b6c3ad94b35a71..cae5e3520bc5043939e32f5abeb20952b0eb40b4 100644 (file)
@@ -27,6 +27,7 @@ void Violence_GibSplash_At(vector org, vector dir, float type, float amount, ent
        e.state |= 8 * self.species; // gib type, ranges from 0 to 15
 
        // if this is a copied dead body, send the num of its player instead
+       // TODO: remove this field, read from model txt files
        if(self.classname == "body")
                e.team = num_for_edict(self.owner);
        else