Prevent crash at access to deleted social data for player.
commitda984767249677a38b977227523f9d980c637bd1
authorVladimirMangos <vladimir@getmangos.com>
Mon, 27 Oct 2008 15:47:13 +0000 (27 18:47 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Mon, 27 Oct 2008 15:47:13 +0000 (27 18:47 +0300)
tree6181a3cba1bab393d59037e7063cd9504539a88e
parentc3148b868d61718f70e4438545fdd83fee1f4e58
Prevent crash at access to deleted social data for player.

Remove social data at logout instead ~Player that called also for temporary Player object for Player::MinimalLoadFromDB call.
src/game/Player.cpp
src/game/SpellEffects.cpp
src/game/WorldSession.cpp