]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_send.c
Fix compatibility with DP's own server with NEHAHRABJP2 and 3 protocols.
[xonotic/darkplaces.git] / sv_send.c
index a9aec2b93282d3cf78f90c4fbc2dbc272d52c757..984f9635ac4494afe78410e2d937510be2cccde2 100644 (file)
--- a/sv_send.c
+++ b/sv_send.c
@@ -291,7 +291,7 @@ void SV_StartSound (prvm_edict_t *entity, int channel, const char *sample, int n
        }
        else
                MSG_WriteShort (dest, (ent<<3) | channel);
-       if ((field_mask & SND_LARGESOUND) || sv.protocol == PROTOCOL_NEHAHRABJP2)
+       if ((field_mask & SND_LARGESOUND) || sv.protocol == PROTOCOL_NEHAHRABJP2 || sv.protocol == PROTOCOL_NEHAHRABJP3)
                MSG_WriteShort (dest, sound_num);
        else
                MSG_WriteByte (dest, sound_num);