Core/Dungeon Finder: Use scripts to interact between groups and LFG

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-10-25 07:29:53 +02:00
1 parent 4cd2431cd7
commit 3fc2d414b1
6 files changed
+167 -50

No files matched your search

-6
View File
@@ -40,7 +40,6 @@
#include "SocialMgr.h"
#include "zlib.h"
#include "ScriptMgr.h"
#include "LFGMgr.h"
#include "Transport.h"
/// WorldSession constructor
@@ -324,11 +323,6 @@ void WorldSession::LogoutPlayer(bool Save)
if (_player)
{
sLFGMgr.Leave(_player);
GetPlayer()->GetSession()->SendLfgUpdateParty(LFG_UPDATETYPE_REMOVED_FROM_QUEUE);
GetPlayer()->GetSession()->SendLfgUpdatePlayer(LFG_UPDATETYPE_REMOVED_FROM_QUEUE);
GetPlayer()->GetSession()->SendLfgUpdateSearch(false);
if (uint64 lguid = GetPlayer()->GetLootGUID())
DoLootRelease(lguid);