mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Style tweaks from review
This commit is contained in:
parent
122b62a5b8
commit
743d1a58e2
2 changed files with 3 additions and 9 deletions
|
@ -355,9 +355,6 @@ void AvatarMixerSlave::broadcastAvatarDataToAgent(const SharedNodePointer& node)
|
|||
// about avatars they've ignored or that are out of view
|
||||
bool PALIsOpen = destinationNodeData->getRequestsDomainListData();
|
||||
bool PALWasOpen = destinationNodeData->getPrevRequestsDomainListData();
|
||||
if (PALIsOpen) {
|
||||
qCWarning(avatars) << "PAL is open:" << avatar.getSessionDisplayName();
|
||||
}
|
||||
|
||||
// When this is true, the AvatarMixer will send Avatar data to a client about avatars that have ignored them
|
||||
bool getsAnyIgnored = PALIsOpen && destinationNode->getCanKick();
|
||||
|
@ -526,9 +523,6 @@ void AvatarMixerSlave::broadcastAvatarDataToAgent(const SharedNodePointer& node)
|
|||
_stats.overBudgetAvatars++;
|
||||
detail = AvatarData::PALMinimum;
|
||||
} else {
|
||||
if (currentVariant == kHero) {
|
||||
qCWarning(avatars) << "Overbudget break with hero avatars!" << destinationNode->getUUID().toString();
|
||||
}
|
||||
_stats.overBudgetAvatars += remainingAvatars;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
|
||||
class MixerAvatar : public AvatarData {
|
||||
public:
|
||||
bool getHasPriority() const { return _bHasPriority; }
|
||||
void setHasPriority(bool bPriorityAvatar) { _bHasPriority = bPriorityAvatar; }
|
||||
bool getHasPriority() const { return _hasPriority; }
|
||||
void setHasPriority(bool hasPriority) { _hasPriority = hasPriority; }
|
||||
|
||||
private:
|
||||
bool _bHasPriority { false };
|
||||
bool _hasPriority { false };
|
||||
};
|
||||
|
||||
using MixerAvatarSharedPointer = std::shared_ptr<MixerAvatar>;
|
||||
|
|
Loading…
Reference in a new issue