[11101] Skip casting time for casts triggered by parent aura/spell.

Possible not need another (old) checks except this.
This commit is contained in:
VladimirMangos 2011-02-02 19:56:47 +03:00
parent 06cebecd50
commit cd3d815df6
2 changed files with 4 additions and 2 deletions

View file

@ -6557,7 +6557,9 @@ bool Spell::IsNeedSendToClient() const
bool Spell::IsTriggeredSpellWithRedundentData() const
{
return m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage);
return m_triggeredByAuraSpell || m_triggeredBySpellInfo ||
// possible not need after above check?
m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage);
}
bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11100"
#define REVISION_NR "11101"
#endif // __REVISION_NR_H__