aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-23 15:09:06 +0200
committerMachiavelli <none@none>2009-08-23 15:09:06 +0200
commiteb14781321f509ff32a733c2521a78641f16287d (patch)
tree1d9e3b69fb0ca5681ef65e8627c9d32489884c15
parentce04bc0b92cae65e927ef7d8028b2b17ddf4c398 (diff)
* Fix a typo
--HG-- branch : trunk
-rw-r--r--src/game/Unit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 6d58cc31ed8..aca48c53e01 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -2809,7 +2809,6 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
if (rand < tmp)
return SPELL_MISS_MISS;
- tmp = 0;
// Chance resist mechanic (select max value from every mechanic spell effect)
int32 resist_mech = 0;
// Get effects mechanic and chance