diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index 3d52ea753..846332c5a 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -161,7 +161,7 @@ bool WorldSession::Update(uint32 /*diff*/) ///- Retrieve packets from the receive queue and call the appropriate handlers /// not proccess packets if socket already closed WorldPacket* packet; - while (_recvQueue.next(packet) && m_Socket && !m_Socket->IsClosed ()) + while (m_Socket && !m_Socket->IsClosed() && _recvQueue.next(packet)) { /*#if 1 sLog.outError( "MOEP: %s (0x%.4X)", diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9efb23b6b..3f587c675 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 "9519" + #define REVISION_NR "9520" #endif // __REVISION_NR_H__