aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Server/Protocol
diff options
context:
space:
mode:
authorSpp <none@none>2010-09-08 13:44:57 +0200
committerSpp <none@none>2010-09-08 13:44:57 +0200
commit8509d50a39b5e734c9b4fab2020f911c1473e6c6 (patch)
tree5d7658fa0b369f51c3bb9caafae0528f52489b5f /src/server/game/Server/Protocol
parentfcc8d1e4a8b34b8273c82e410428300b74334802 (diff)
Core/Dungeon finder: Missing changes from previous commit
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Server/Protocol')
-rw-r--r--src/server/game/Server/Protocol/Handlers/LFGHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/LFGHandler.cpp b/src/server/game/Server/Protocol/Handlers/LFGHandler.cpp
index 86a43fed25b..dfbd755aaf9 100644
--- a/src/server/game/Server/Protocol/Handlers/LFGHandler.cpp
+++ b/src/server/game/Server/Protocol/Handlers/LFGHandler.cpp
@@ -355,7 +355,7 @@ void WorldSession::SendLfgJoinResult(uint8 checkResult, uint8 checkValue)
{
sLog.outDebug("SMSG_LFG_JOIN_RESULT");
- WorldPacket data(SMSG_LFG_JOIN_RESULT, 4 + 4);
+ WorldPacket data(SMSG_LFG_JOIN_RESULT, 4 + 4 + checkResult == LFG_JOIN_PARTY_NOT_MEET_REQS ? 1 : 0);
data << uint32(checkResult); // Check Result
data << uint32(checkValue); // Check Value
if (checkResult == LFG_JOIN_PARTY_NOT_MEET_REQS) // Should never happen - its handled in Mgr but just in case
@@ -387,7 +387,7 @@ void WorldSession::SendLfgPlayerReward(uint32 rdungeonEntry, uint32 sdungeonEntr
return;
uint8 itemNum = qRew ? qRew->GetRewItemsCount() : 0;
-
+
sLog.outDebug("SMSG_LFG_PLAYER_REWARD");
WorldPacket data(SMSG_LFG_PLAYER_REWARD, 4 + 4 + 1 + 4 + 4 + 4 + 4 + 4 + 1 + itemNum * (4 + 4 + 4));
data << uint32(rdungeonEntry); // Random Dungeon Finished