[11041] Tabs to spaces

This commit is contained in:
zergtmn 2011-01-16 01:34:11 +05:00
parent bf04f46011
commit 452b3d9e05
5 changed files with 13 additions and 13 deletions

View file

@ -7992,18 +7992,18 @@ void Aura::HandleAuraModAllCritChance(bool apply, bool Real)
((Player*)target)->UpdateAllSpellCritChances();
}
void Aura::SetAuraMaxDuration( int32 duration )
void Aura::SetAuraMaxDuration(int32 duration)
{
m_maxduration = duration;
m_maxduration = duration;
// possible overwrite persistent state
if (duration > 0)
{
if (!(GetHolder()->IsPassive() && GetSpellProto()->DurationIndex == 0))
GetHolder()->SetPermanent(false);
// possible overwrite persistent state
if (duration > 0)
{
if (!(GetHolder()->IsPassive() && GetSpellProto()->DurationIndex == 0))
GetHolder()->SetPermanent(false);
GetHolder()->SetAuraFlags(GetHolder()->GetAuraFlags() | AFLAG_DURATION);
}
GetHolder()->SetAuraFlags(GetHolder()->GetAuraFlags() | AFLAG_DURATION);
}
}
bool Aura::IsLastAuraOnHolder()