diff options
author | Machiavelli <none@none> | 2009-10-05 16:37:57 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-10-05 16:37:57 +0200 |
commit | d3360f0024ef42507a3a79b8cd86fb02cbece087 (patch) | |
tree | b8abb6a06173d3435a5135ea46180534a29f4999 /src/game/Unit.cpp | |
parent | 2c34b6f3ff74d05acd7e122dc1ba016902175d23 (diff) | |
parent | 80072cf9dd3bc35c594b651ed197662c0536caa6 (diff) |
Merge
--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 e0069e99259..6486462af11 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -2782,7 +2782,7 @@ SpellMissInfo Unit::MeleeSpellHitResult(Unit *pVictim, SpellEntry const *spell) SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell) { // Can`t miss on dead target (on skinning for example) - if (!pVictim->isAlive()) + if (!pVictim->isAlive() && pVictim->GetTypeId() != TYPEID_PLAYER) return SPELL_MISS_NONE; SpellSchoolMask schoolMask = GetSpellSchoolMask(spell); |