Core/Protocol: Resolved conflicing opcodes MSG_TALENT_WIPE_CONFIRM and CMSG_VERIFY_CONNECTIVITY_RESPONSE

This commit is contained in:
Shauren committed 2012-01-30 15:28:38 +01:00
1 parent 7575ba3898
commit 6089d4642b
5 files changed
+18 -20

No files matched your search

-9
View File
@@ -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());