*Fix a crash caused by ~Player

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-19 16:10:25 -05:00
parent c9eee8e524
commit d9ed49749d
-4
View File
@@ -488,10 +488,6 @@ Player::~Player ()
// it must be unloaded already in PlayerLogout and accessed only for loggined player
//m_social = NULL;
// Player may still set map - remove it to correctly unload instances
if (FindMap())
ResetMap();
// Note: buy back item already deleted from DB when player was saved
for(uint8 i = 0; i < PLAYER_SLOTS_COUNT; ++i)
{