diff options
author | QAston <none@none> | 2009-07-09 23:49:46 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-09 23:49:46 +0200 |
commit | 107e7eafbdf3ae836442d1087d453aa16cccf968 (patch) | |
tree | 170dee7f9b13797d0bf19beb6e6993d55c159ec0 /src/game/Unit.cpp | |
parent | 490494ab074f328c8a231aec38177dfe2fbb9538 (diff) |
*Add new procExFlag: PROC_EX_ONLY_ACTIVE_SPELL - which allows only damaging/healing spells to proc - this fixes double proc of judgement auras in some cases.
--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 0ba74f3b5e3..e3c7eae83d9 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -14137,7 +14137,7 @@ void Unit::RemoveCharmedBy(Unit *charmer) if(!charmer) charmer = GetCharmer(); - else if(charmer != GetCharmer()) // one aura overrides another? + if(charmer != GetCharmer()) // one aura overrides another? { // sLog.outCrash("Unit::RemoveCharmedBy: this: " UI64FMTD " true charmer: " UI64FMTD " false charmer: " UI64FMTD, // GetGUID(), GetCharmerGUID(), charmer->GetGUID()); |