aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 6ede76af68e..6c52978fa42 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -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)