Abort reading bad packet

This commit is contained in:
Emagi 2024-05-02 14:58:42 -04:00
parent 721e5c6362
commit 8639e5a7ed

View file

@ -379,6 +379,8 @@ void EQStream::ProcessPacket(EQProtocolPacket *p, EQProtocolPacket* lastp)
ProcessPacket(subp, p);
delete subp;
}
else
break; // bad packet
}
}
processed+=subpacket_length+offset;