aboutsummaryrefslogtreecommitdiff
path: root/src/game/Opcodes.h
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-22 10:59:38 -0600
committermegamage <none@none>2008-12-22 10:59:38 -0600
commit65ef38963ddc60e05491ca9d3e2685913c0038bb (patch)
tree740f287e537982028ac4b0974d4a88aeae9075d8 /src/game/Opcodes.h
parentf7dd2df7955f5c5d17ee2ad27fb6c9a0f89d7196 (diff)
*The last merge from Mangos TBC. Update to Mangos v0.12.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Opcodes.h')
-rw-r--r--src/game/Opcodes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/Opcodes.h b/src/game/Opcodes.h
index 457058b957c..202166a57a0 100644
--- a/src/game/Opcodes.h
+++ b/src/game/Opcodes.h
@@ -27,6 +27,12 @@
#include "Common.h"
+// Note: this include need for be sure have full definition of class WorldSession
+// if this class definition not complite then VS for x64 release use different size for
+// struct OpcodeHandler in this header and Opcode.cpp and get totally wrong data from
+// table opcodeTable in source when Opcode.h included but WorldSession.h not included
+#include "WorldSession.h"
+
/// List of Opcodes
enum Opcodes
{
@@ -1104,7 +1110,6 @@ enum SessionStatus
STATUS_NEVER ///< Opcode not accepted from client (deprecated or server side only)
};
-class WorldSession;
class WorldPacket;
struct OpcodeHandler