diff --git a/src/game/Opcodes.h b/src/game/Opcodes.h index a706fdea8..15901e6d4 100644 --- a/src/game/Opcodes.h +++ b/src/game/Opcodes.h @@ -25,6 +25,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 { @@ -1102,7 +1108,6 @@ enum SessionStatus STATUS_NEVER ///< Opcode not accepted from client (deprecated or server side only) }; -class WorldSession; class WorldPacket; struct OpcodeHandler diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 482bae0e8..eafc0b2c5 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "6922" + #define REVISION_NR "6923" #endif // __REVISION_NR_H__