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.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index cfddb5e76ad..b1eb2ffb452 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -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);