mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 11:19:51 +02:00
use templated write for sequence number in OctreeEditPacketSender
This commit is contained in:
parent
d8b03189e3
commit
b983f662ee
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void OctreeEditPacketSender::queuePacketToNode(const QUuid& nodeUUID, std::uniqu
|
|||
|
||||
// pack sequence number
|
||||
quint16 sequence = _outgoingSequenceNumbers[nodeUUID]++;
|
||||
packet->write(reinterpret_cast<char*>(&sequence), sizeof(sequence));
|
||||
packet->write(sequence);
|
||||
|
||||
// debugging output...
|
||||
if (wantDebug) {
|
||||
|
|
Loading…
Reference in a new issue