mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 04:15:14 +02:00
Quick cleanup
This commit is contained in:
parent
8bdbbd4b25
commit
fda87b3a53
1 changed files with 1 additions and 4 deletions
|
@ -134,13 +134,10 @@ void AvatarMixerSlave::broadcastAvatarData(const SharedNodePointer& node) {
|
||||||
// When this is true, the AvatarMixer will send Avatar data to a client about avatars that have ignored them
|
// When this is true, the AvatarMixer will send Avatar data to a client about avatars that have ignored them
|
||||||
bool getsAnyIgnored = PALIsOpen && node->getCanKick();
|
bool getsAnyIgnored = PALIsOpen && node->getCanKick();
|
||||||
|
|
||||||
// Increase minimumBytesPerAvatar if the PAL is open
|
|
||||||
if (PALIsOpen) {
|
if (PALIsOpen) {
|
||||||
|
// Increase minimumBytesPerAvatar if the PAL is open
|
||||||
minimumBytesPerAvatar += sizeof(AvatarDataPacket::AvatarGlobalPosition) +
|
minimumBytesPerAvatar += sizeof(AvatarDataPacket::AvatarGlobalPosition) +
|
||||||
sizeof(AvatarDataPacket::AudioLoudness);
|
sizeof(AvatarDataPacket::AudioLoudness);
|
||||||
}
|
|
||||||
|
|
||||||
if (PALIsOpen) {
|
|
||||||
if (_identitySendProbability == DEFAULT_IDENTITY_SEND_PROBABILITY) {
|
if (_identitySendProbability == DEFAULT_IDENTITY_SEND_PROBABILITY) {
|
||||||
// The client has just opened the PAL. Force all identity packets to be sent to
|
// The client has just opened the PAL. Force all identity packets to be sent to
|
||||||
// this client.
|
// this client.
|
||||||
|
|
Loading…
Reference in a new issue