*Add an error log to find crash reason of m_spellModTakingSpell.
--HG-- branch : trunk
This commit is contained in:
+7
-1
@@ -1125,7 +1125,13 @@ void Player::Update( uint32 p_time )
|
||||
|
||||
// If this is set during update SetSpellModTakingSpell call is missing somewhere in the code
|
||||
// Having this would prevent more aura charges to be dropped, so let's crash
|
||||
assert (!m_spellModTakingSpell);
|
||||
//assert (!m_spellModTakingSpell);
|
||||
if(m_spellModTakingSpell)
|
||||
{
|
||||
sLog.outCrash("Player has m_spellModTakingSpell %u during update!", m_spellModTakingSpell->m_spellInfo->Id);
|
||||
assert(false);
|
||||
m_spellModTakingSpell = NULL;
|
||||
}
|
||||
|
||||
//used to implement delayed far teleports
|
||||
SetCanDelayTeleport(true);
|
||||
|
||||
Reference in New Issue
Block a user