mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 04:35:17 +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);
|
Packet *packet = reinterpret_cast<Packet*>(packetBuf);
|
||||||
|
|
||||||
if(mPacketQueue.size() < maxBufSize - 1) {
|
if(!mRecvQueue.isFull()) {
|
||||||
mPacketQueue.pushBack(packet);
|
mRecvQueue.push((s64)packet, sead::MessageQueue::BlockType::NonBlocking);
|
||||||
this->has_recv_udp = true;
|
this->has_recv_udp = true;
|
||||||
} else {
|
} else {
|
||||||
free(packetBuf);
|
free(packetBuf);
|
||||||
|
|
Loading…
Reference in a new issue