]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/accuracy.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / accuracy.qc
index 019bcda4958ac006b1766f2fd9a0a1eab5dec7f3..211ef8cec090682aeaf040286f54018f8ff27376 100644 (file)
@@ -15,7 +15,7 @@ int accuracy_byte(float n, float d)
 
 bool accuracy_send(entity this, entity to, int sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_ACCURACY);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_ACCURACY);
 
        entity a = this.owner;
        if (IS_SPEC(a)) a = a.enemy;