Fix a changed variable

This commit is contained in:
Jack Garrard 2022-10-21 12:57:40 -07:00
parent d666707e24
commit ba7612a304

View file

@ -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);