X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Ftuba.qc;h=851f9fcdf2ad4cdc7238b1bfc96ee56083bba98a;hb=1d70346809dd33b32864b3832662878077588e4b;hp=130edaaf58bef62debd1a9dc3e66b9804b1c0e1d;hpb=011c85517b7460bf24e2c350fcd742006359f71f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon/tuba.qc b/qcsrc/common/weapons/weapon/tuba.qc index 130edaaf5..851f9fcdf 100644 --- a/qcsrc/common/weapons/weapon/tuba.qc +++ b/qcsrc/common/weapons/weapon/tuba.qc @@ -261,7 +261,7 @@ bool W_Tuba_NoteSendEntity(entity this, entity to, int sf) if(!sound_allowed(MSG_ONE, self.realowner)) return false; - WriteByte(MSG_ENTITY, ENT_CLIENT_TUBANOTE); + WriteHeader(MSG_ENTITY, ENT_CLIENT_TUBANOTE); WriteByte(MSG_ENTITY, sf); if(sf & 1) {