aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-17 18:27:02 +0200
committerQAston <none@none>2009-07-17 18:27:02 +0200
commitec198d358d641a39f5272e14177f6f218a1c21f5 (patch)
tree2be898c7d6a1df140568139cb6cbce6e7524d811 /src
parentcf6b6a24805ed5820d7e5234101bdb1c25738be1 (diff)
*Remove unneeded Player::CleanupsBeforeDelete call.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/WorldSession.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp
index c2191ed3e10..a7bcfef4ab9 100644
--- a/src/game/WorldSession.cpp
+++ b/src/game/WorldSession.cpp
@@ -384,9 +384,6 @@ void WorldSession::LogoutPlayer(bool Save)
sSocialMgr.SendFriendStatus(_player, FRIEND_OFFLINE, _player->GetGUIDLow(), true);
sSocialMgr.RemovePlayerSocial (_player->GetGUIDLow ());
- ///- Delete the player object
- _player->CleanupsBeforeDelete(); // do some cleanup before deleting to prevent crash at crossreferences to already deleted data
-
///- Remove the player from the world
// the player may not be in the world when logging out
// e.g if he got disconnected during a transfer to another map