Change GetSpellSpecific() to have SpellEntry argument instead of ID, this saves lookups in spellstore for entries we already have.

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-20 20:54:32 +01:00
parent bfad15470f
commit 721c926229
4 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ enum SpellLinkedType
SPELL_LINK_REMOVE = 0,
};
SpellSpecific GetSpellSpecific(uint32 spellId);
SpellSpecific GetSpellSpecific(SpellEntry const * spellInfo);
AuraState GetSpellAuraState(SpellEntry const * spellInfo);
// Different spell properties