*Update spell_bonus_data for Garrote - by svetilo12.

*Fix build.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-03 06:36:25 +02:00
parent 12c339f421
commit e7ee828fe1
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -3637,7 +3637,7 @@ void Unit::_AddAura(UnitAura * aura, Unit * caster)
aura->SetIsSingleTarget(caster && IsSingleTargetSpell(aura->GetSpellProto()));
if (aura->IsSingleTarget())
{
ASSERT((IsInWorld() && !IsDuringRemoveFromWorld()) || (GetCasterGUID() == GetGUID()));
ASSERT((IsInWorld() && !IsDuringRemoveFromWorld()) || (aura->GetCasterGUID() == GetGUID()));
// register single target aura
caster->GetSingleCastAuras().push_back(aura);
// remove other single target auras