Core/Protocol: Resolved conflicing opcodes MSG_TALENT_WIPE_CONFIRM and CMSG_VERIFY_CONNECTIVITY_RESPONSE
This commit is contained in:
1 parent
7575ba3898
commit
6089d4642b
5 files changed
+18
-20
No files matched your search
@@ -43,15 +43,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "Transport.h"
|
||||
|
||||
Opcodes PacketFilter::DropHighBytes(Opcodes opcode)
|
||||
{
|
||||
if (opcode & 0xFFFF0000) // check if any High byte is present
|
||||
return Opcodes(opcode >> 16);
|
||||
|
||||
else
|
||||
return Opcodes(opcode);
|
||||
}
|
||||
|
||||
bool MapSessionFilter::Process(WorldPacket* packet)
|
||||
{
|
||||
Opcodes opcode = DropHighBytes(packet->GetOpcode());
|
||||
|
||||
Reference in new issue
Block a user