aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-08-25 06:40:25 +0200
committerQAston <qaston@gmail.com>2011-08-25 06:40:56 +0200
commit62d913bb356a8182d2266a608062544b83458e67 (patch)
tree3c92a8de078927894c694c1cb45aee4b4e74b5f5 /src
parentf72cff430d5ca0585489e11c2db7b9e26e1fbe8d (diff)
Revert "Core/Spells: Also Death Runes itself should be able to turn into a Death Rune. They should not turn back into their original rune when using a spell that turns the used runes into Death Runes." - it is causing crashes.
This reverts commit 17b89ea8ab5f7ec57d53478983dfa76e436b417f.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index c8b1abc1deb..ce5a71a2420 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -8054,6 +8054,9 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp
if (plr->getClass() != CLASS_DEATH_KNIGHT)
return false;
+ // can't proc from death rune use
+ if (rune == RUNE_DEATH)
+ return false;
AuraEffect* aurEff = triggeredByAura->GetEffect(EFFECT_0);
if (!aurEff)
return false;