diff options
author | Chaz Brown <iamparadox@netscape.net> | 2009-09-27 02:13:56 -0400 |
---|---|---|
committer | Chaz Brown <iamparadox@netscape.net> | 2009-09-27 02:13:56 -0400 |
commit | a635bdd0ccdf77c56c45ee1a6d456b3a2ef43ff3 (patch) | |
tree | a3716455440cd46640533cba3185f539a63417a7 /src/game/WorldSocket.h | |
parent | 371c6fd37184fb0c0e98fc2b8b11c2a496991211 (diff) |
* Fix Player getting stuck after teleport, etc. due to high number of achievements - patch by Trazom
http://www.trinitycore.org/forum/project.php?issueid=4329&page=4#note34721
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSocket.h')
-rw-r--r-- | src/game/WorldSocket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/WorldSocket.h b/src/game/WorldSocket.h index 94f57d8d636..9b012ee23d3 100644 --- a/src/game/WorldSocket.h +++ b/src/game/WorldSocket.h @@ -175,6 +175,10 @@ class WorldSocket : protected WorldHandler /// Need to be called with m_OutBufferLock lock held int iSendPacket (const WorldPacket& pct); + /// Try to write WorldPacket to m_OutBuffer even partially, + /// Need to be called with m_OutBufferLock lock held + int iSendPartialPacket(WorldPacket& pct); + /// Flush m_PacketQueue if there are packets in it /// Need to be called with m_OutBufferLock lock held /// @return true if it wrote to the buffer ( AKA you need |