mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 22:29:24 +02:00
use macro for AvatarMixer, show type for unknown
This commit is contained in:
parent
0b700d690a
commit
432048addf
2 changed files with 3 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
/// Handles assignments of type AvatarMixer - distribution of avatar data to various clients
|
||||
class AvatarMixer : public ThreadedAssignment {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AvatarMixer(NLPacket& packet);
|
||||
~AvatarMixer();
|
||||
|
@ -26,7 +27,6 @@ public slots:
|
|||
/// runs the avatar mixer
|
||||
void run();
|
||||
|
||||
void nodeAdded(SharedNodePointer nodeAdded);
|
||||
void nodeKilled(SharedNodePointer killedNode);
|
||||
|
||||
void sendStatsPacket();
|
||||
|
|
|
@ -206,8 +206,8 @@ bool LimitedNodeList::packetSourceAndHashMatch(const NLPacket& packet, SharedNod
|
|||
static QString repeatedMessage
|
||||
= LogHandler::getInstance().addRepeatedMessageRegex("Packet of type \\d+ received from unknown node with UUID");
|
||||
|
||||
qCDebug(networking) << "Packet of type" << packet.getType() << "received from unknown node with UUID"
|
||||
<< qPrintable(uuidStringWithoutCurlyBraces(packet.getSourceID()));
|
||||
qCDebug(networking) << "Packet of type" << packet.getType() << "(" << nameForPacketType(packet.getType()) << ")"
|
||||
<< "received from unknown node with UUID" << qPrintable(uuidStringWithoutCurlyBraces(packet.getSourceID()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue