diff options
author | QAston <none@none> | 2009-06-15 17:15:19 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-06-15 17:15:19 +0200 |
commit | 425863abd9e59b55bfaf75fa61ebf9bec69acbc1 (patch) | |
tree | 469e677d3ecafec52adf985b8b5a5be3e57ea627 /src/game/Unit.cpp | |
parent | f53b049759b052bf3903ea1daa1893a3b68331a8 (diff) |
*Fix dead loop in proc system.
*Fix curse of doom.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 408bf62f224..38963dc51d5 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -13368,7 +13368,7 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit *pVictim, Aura * aura, SpellEntry co // Aura added by spell can`t trogger from self (prevent drop charges/do triggers) // But except periodic and kill triggers (can triggered from self) if(procSpell && procSpell->Id == spellProto->Id - && !(spellProto->procFlags&PROC_FLAG_ON_TAKE_PERIODIC | PROC_FLAG_KILL)) + && !(spellProto->procFlags&(PROC_FLAG_ON_TAKE_PERIODIC | PROC_FLAG_KILL))) return false; // Check if current equipment allows aura to proc |