mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 23:12:36 +02:00
Change read back to peek - guess it was that way for a reason
This commit is contained in:
parent
f73a7c0883
commit
f63360a87a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
ThreadedAssignment* AssignmentFactory::unpackAssignment(ReceivedMessage& message) {
|
||||
|
||||
quint8 packedType;
|
||||
if (message.readPrimitive(&packedType) != sizeof(packedType)) {
|
||||
if (message.peekPrimitive(&packedType) != sizeof(packedType)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue