aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-02-20 15:29:16 +0100
committerthenecromancer <none@none>2010-02-20 15:29:16 +0100
commite4424f1d1616dcd4c2505e7e869dca67c487ea00 (patch)
tree3422598c4ef167f92976577e9185f644c2fd34ba /src
parentaf6c4647beffa27d0cb8140a441e05e75bf6b737 (diff)
Don't take away runes when not hitting
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 98ac23e69d5..28784baf64b 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4086,7 +4086,7 @@ void Spell::TakePower()
Powers powerType = Powers(m_spellInfo->powerType);
- if(powerType == POWER_RUNE)
+ if(hit && powerType == POWER_RUNE)
{
TakeRunePower();
return;