*Fix a bug that causes crash when player data is corrupted. By Rognar.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-19 22:46:18 -06:00
parent 8545728daa
commit d7c37e157a
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ Player::~Player ()
for(BoundInstancesMap::iterator itr = m_boundInstances[i].begin(); itr != m_boundInstances[i].end(); ++itr)
itr->second.save->RemovePlayer(this);
if (isPossessing())
if (m_uint32Values && isPossessing())
RemovePossess(false);
delete m_declinedname;