mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 03:05:16 +00:00
Fix a changed variable
This commit is contained in:
parent
d666707e24
commit
ba7612a304
1 changed files with 2 additions and 2 deletions
|
@ -253,8 +253,8 @@ bool SocketClient::recv() {
|
|||
|
||||
Packet *packet = reinterpret_cast<Packet*>(packetBuf);
|
||||
|
||||
if(mPacketQueue.size() < maxBufSize - 1) {
|
||||
mPacketQueue.pushBack(packet);
|
||||
if(!mRecvQueue.isFull()) {
|
||||
mRecvQueue.push((s64)packet, sead::MessageQueue::BlockType::NonBlocking);
|
||||
this->has_recv_udp = true;
|
||||
} else {
|
||||
free(packetBuf);
|
||||
|
|
Loading…
Reference in a new issue