[svn] * Prevent crash at access to deleted social data for player. Remove social data at logout instead - source mangos
* Fixed subcommands list output at console. - source mangos * Rename scripts update. --HG-- branch : trunk
This commit is contained in:
+1
-4
@@ -433,10 +433,7 @@ Player::~Player ()
|
||||
{
|
||||
CleanupsBeforeDelete();
|
||||
|
||||
if(m_uint32Values) // only for fully created Object
|
||||
{
|
||||
sSocialMgr.RemovePlayerSocial(GetGUIDLow());
|
||||
}
|
||||
//m_social = NULL;
|
||||
|
||||
// Note: buy back item already deleted from DB when player was saved
|
||||
for(int i = 0; i < PLAYER_SLOTS_COUNT; ++i)
|
||||
|
||||
Reference in New Issue
Block a user