]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/controlpoint.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / controlpoint.qc
index ceeb4f185b3fd846af054373f3c70ae5e7aa7c93..74494b7ee9c400e61562c83e0782cf6df97df643 100644 (file)
@@ -6,7 +6,7 @@
 
 bool cpicon_send(entity this, entity to, int sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_CONTROLPOINT_ICON);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_CONTROLPOINT_ICON);
        WriteByte(MSG_ENTITY, sf);
        if(sf & CPSF_SETUP)
        {