*Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG-- branch : trunk
This commit is contained in:
1 parent
058b7c32e4
commit
bb75ff7b79
10 files changed
+41
-130
No files matched your search
@@ -249,14 +249,6 @@ void WorldSession::LogoutPlayer(bool Save)
|
||||
|
||||
if (_player)
|
||||
{
|
||||
// Unpossess the current possessed unit of player
|
||||
_player->StopCharmOrPossess();
|
||||
|
||||
// Remove any possession of this player on logout
|
||||
_player->RemoveCharmedOrPossessedBy(NULL);
|
||||
|
||||
//_player->DestroyForNearbyPlayers();
|
||||
|
||||
if (uint64 lguid = GetPlayer()->GetLootGUID())
|
||||
DoLootRelease(lguid);
|
||||
|
||||
|
||||
Reference in new issue
Block a user