*Do not remove player reference to map on player remove from map.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-08-01 21:39:33 +02:00
1 parent 604ad4eba3
commit 3e5205cda7
3 files changed
+5 -4

No files matched your search

+1 -3
View File
@@ -481,9 +481,7 @@ Player::~Player ()
// it must be unloaded already in PlayerLogout and accessed only for loggined player
//m_social = NULL;
// Remove reference to map if still exists
if (FindMap())
ResetMap();
assert (!FindMap());
// Note: buy back item already deleted from DB when player was saved
for(uint8 i = 0; i < PLAYER_SLOTS_COUNT; ++i)