aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-10 19:43:50 +0200
committerMachiavelli <none@none>2009-06-10 19:43:50 +0200
commiteb9719ed4f95c81b3e1ccd4cae63b7c09baddcaf (patch)
treecd091599f6c127d5931fb097ed64743249ba3e30 /src/game/Unit.cpp
parent7445ddad0520fd9a55234a0c22dca56e4e7c00d0 (diff)
parent926747b57ec6e8439d5397c57b37d2b2c3ba7b70 (diff)
Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 016abedf888..b8bcf656b9f 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -9233,7 +9233,7 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
{
AuraEffect *aura = pVictim->GetDummyAura(58597);
if (aura && aura->GetCasterGUID() == GetGUID())
- crit_chance+=aura->GetAmount();
+ crit_chance+=aura->GetAmount();
break;
}
break;
@@ -11684,8 +11684,8 @@ void Unit::AddToWorld()
{
WorldObject::AddToWorld();
m_Notified = false;
- //assert(m_NotifyListPos < 0); instance : crash
- m_NotifyListPos = -1;
+ assert(m_NotifyListPos < 0); //instance : crash
+ //m_NotifyListPos = -1;
SetToNotify();
}
}