]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/arc.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / arc.qc
index 031fe679d531e6deff7d652c60a6ad62a16e7f44..101029fe3dc2ebde5fed432f5538eacc95b31a6d 100644 (file)
@@ -132,7 +132,7 @@ spawnfunc(weapon_arc) { weapon_defaultspawnfunc(this, WEP_ARC); }
 
 bool W_Arc_Beam_Send(entity this, entity to, int sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_ARC_BEAM);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_ARC_BEAM);
 
        // Truncate information when this beam is displayed to the owner client
        // - The owner client has no use for beam start position or directions,