From bb75ff7b79e89dac82f3ee1c740eb6079c7ec43b Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 15 Feb 2009 17:33:36 -0600 Subject: *Cleanup of charm/farsight code. Hope this can fix some crash bugs. --HG-- branch : trunk --- src/game/WorldSession.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/game/WorldSession.cpp') diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index e043bbe9659..7f28d3e4e94 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -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); -- cgit v1.2.3