mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +02:00
fix for sentPacketHistory dequeue
This commit is contained in:
parent
7e07754773
commit
83cc4380a7
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ bool OctreeQueryNode::hasNextNackedPacket() const {
|
||||||
const NLPacket* OctreeQueryNode::getNextNackedPacket() {
|
const NLPacket* OctreeQueryNode::getNextNackedPacket() {
|
||||||
if (!_nackedSequenceNumbers.isEmpty()) {
|
if (!_nackedSequenceNumbers.isEmpty()) {
|
||||||
// could return null if packet is not in the history
|
// could return null if packet is not in the history
|
||||||
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.dequeue()).get();
|
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.dequeue());
|
||||||
}
|
}
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Reference in a new issue