fix(combatlog): consume reflect payload in spell-go miss entries

This commit is contained in:
Kelsi 2026-03-13 23:15:56 -07:00
parent 77d53baa09
commit 3f1083e9b5
4 changed files with 24 additions and 2 deletions

View file

@ -1306,6 +1306,13 @@ bool TbcPacketParsers::parseSpellGo(network::Packet& packet, SpellGoData& data)
SpellGoMissEntry m;
m.targetGuid = packet.readUInt64(); // full GUID in TBC
m.missType = packet.readUInt8();
if (m.missType == 11) {
if (packet.getReadPos() + 5 > packet.getSize()) {
break;
}
(void)packet.readUInt32();
(void)packet.readUInt8();
}
data.missTargets.push_back(m);
}
// Check if we read all expected misses