mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix the node ID unpack for avatar data
This commit is contained in:
parent
e8f7d32ec5
commit
d3f40033f9
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ int main(int argc, const char* argv[]) {
|
|||
switch (packetData[0]) {
|
||||
case PACKET_TYPE_HEAD_DATA:
|
||||
// grab the node ID from the packet
|
||||
unpackNodeId(packetData + 1, &nodeID);
|
||||
unpackNodeId(packetData + numBytesForPacketHeader(packetData), &nodeID);
|
||||
|
||||
// add or update the node in our list
|
||||
avatarNode = nodeList->addOrUpdateNode(nodeAddress, nodeAddress, NODE_TYPE_AGENT, nodeID);
|
||||
|
|
Loading…
Reference in a new issue