Fix for unreliable packets not being processed or sent correctly

This commit is contained in:
KimLS
2017-07-22 14:18:30 -07:00
parent edf1cfefd3
commit a1ff12d9ab
2 changed files with 28 additions and 22 deletions
+6 -1
View File
@@ -81,7 +81,12 @@ void EQ::Net::EQStream::QueuePacket(const EQApplicationPacket *p, bool ack_req)
break;
}
m_connection->QueuePacket(out);
if (ack_req) {
m_connection->QueuePacket(out);
}
else {
m_connection->QueuePacket(out, 0, false);
}
}
}