mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix(combatlog): parse full spell miss target lists
This commit is contained in:
parent
a962422b12
commit
c90c8fb8cf
1 changed files with 0 additions and 1 deletions
|
|
@ -2761,7 +2761,6 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
||||||
if (packet.getSize() - packet.getReadPos() < 5) break;
|
if (packet.getSize() - packet.getReadPos() < 5) break;
|
||||||
/*uint8_t unk =*/ packet.readUInt8();
|
/*uint8_t unk =*/ packet.readUInt8();
|
||||||
uint32_t count = packet.readUInt32();
|
uint32_t count = packet.readUInt32();
|
||||||
count = std::min(count, 32u);
|
|
||||||
for (uint32_t i = 0; i < count; ++i) {
|
for (uint32_t i = 0; i < count; ++i) {
|
||||||
if (packet.getSize() - packet.getReadPos() < (spellMissUsesFullGuid ? 9u : 2u)
|
if (packet.getSize() - packet.getReadPos() < (spellMissUsesFullGuid ? 9u : 2u)
|
||||||
|| (!spellMissUsesFullGuid && !hasFullPackedGuid(packet))) {
|
|| (!spellMissUsesFullGuid && !hasFullPackedGuid(packet))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue