diff options
author | Machiavelli <none@none> | 2009-08-23 14:54:36 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-08-23 14:54:36 +0200 |
commit | 07796cb35ab770ea8d69b2c00cc6e77813b7966a (patch) | |
tree | 0ac6e868cff27ea8680cbd8498fe732745098c76 | |
parent | 697de022724e16e54cc03fe2144fcd24238f202f (diff) |
* Correctly show 'miss' when a spell is missed instead of resist, by Themris
--HG--
branch : trunk
-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 58e4037b5c0..571ff140e37 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -2810,7 +2810,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell) uint32 rand = urand(0,10000); if (rand < tmp) - return SPELL_MISS_RESIST; + return SPELL_MISS_MISS; // cast by caster in front of victim if (pVictim->HasInArc(M_PI,this) || pVictim->HasAuraType(SPELL_AURA_IGNORE_HIT_DIRECTION)) |