diff options
author | megamage <none@none> | 2009-02-15 17:33:36 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-15 17:33:36 -0600 |
commit | bb75ff7b79e89dac82f3ee1c740eb6079c7ec43b (patch) | |
tree | a48ea1fe70e395573e7ca4be4058fe894bbc2bdf /src/game/WorldSession.cpp | |
parent | 058b7c32e40332a620d8e294b4defba81e14dfc0 (diff) |
*Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
-rw-r--r-- | src/game/WorldSession.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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); |