From f37e5b9afd6b9d45afaf2c951d4fac0b72832865 Mon Sep 17 00:00:00 2001 From: DDuarte Date: Sat, 25 Oct 2014 15:41:42 +0100 Subject: Core/Opcodes: Support opcodes with the same ids and different direction - Split enum Opcodes in enum OpcodeMisc/OpcodeClient/OpcodeServer - Old MSGs are temporarly in the enum OpcodeClient - Split _internalTable of OpcodeTable in two tables, one for CMSG opcodes and another for SMSG opcodes Note: most added static_cast will be removed once WorldPacket is split in two classes (ServerPacket/ClientPacket, see #13434) --- src/server/scripts/Commands/cs_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index 4a559e759ca..f93208a4186 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -314,7 +314,7 @@ public: uint32 opcode; parsedStream >> opcode; - WorldPacket data(Opcodes(opcode), 0); + WorldPacket data(OpcodeServer(opcode), 0); while (!parsedStream.eof()) { -- cgit v1.2.3