]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/ent_cs.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / ent_cs.qc
index f69ea7a67022d781583bd76d17091c32aceb0386..9c98e7d99f2ed32ccf7dc631f204bd6ebf3bcfe8 100644 (file)
@@ -19,7 +19,7 @@ float entcs_customize()
 
 bool entcs_send(entity this, entity to, int sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_ENTCS);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_ENTCS);
        WriteByte(MSG_ENTITY, sf);
        if(sf & BIT(0))
                WriteByte(MSG_ENTITY, num_for_edict(self.owner) - 1);