Make SpellEntry related functions into class members.

This commit is contained in:
ratkosrb
2019-05-05 16:02:36 +03:00
parent 7a6464366c
commit 539bae6c9c
29 changed files with 1919 additions and 2001 deletions
+2 -2
View File
@@ -117,8 +117,8 @@ bool DynamicObject::Create(uint32 guidlow, Unit *caster, uint32 spellId, SpellEf
m_radius = radius;
m_effIndex = effIndex;
m_spellId = spellId;
m_positive = IsPositiveEffect(spellProto, m_effIndex);
m_channeled = IsChanneledSpell(spellProto);
m_positive = spellProto->IsPositiveEffect(m_effIndex);
m_channeled = spellProto->IsChanneledSpell();
return true;
}