mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 02:30:14 +02:00
keep more than one assignment in the queue
This commit is contained in:
parent
94740eed60
commit
f485814a42
1 changed files with 0 additions and 5 deletions
|
@ -55,11 +55,6 @@ int main(int argc, const char* argv[]) {
|
||||||
Assignment newAssignment((Assignment::Type) *(senderData + numBytesForPacketHeader(senderData)), senderSocket);
|
Assignment newAssignment((Assignment::Type) *(senderData + numBytesForPacketHeader(senderData)), senderSocket);
|
||||||
|
|
||||||
qDebug() << "Received assignment of type " << newAssignment.getType() << "\n";
|
qDebug() << "Received assignment of type " << newAssignment.getType() << "\n";
|
||||||
|
|
||||||
// for the puroposes of debugging before implementing a GUID system - only keep latest
|
|
||||||
if (assignmentQueue.size() > 0) {
|
|
||||||
assignmentQueue.pop();
|
|
||||||
}
|
|
||||||
|
|
||||||
// add this assignment to the queue
|
// add this assignment to the queue
|
||||||
assignmentQueue.push(newAssignment);
|
assignmentQueue.push(newAssignment);
|
||||||
|
|
Loading…
Reference in a new issue