mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[11977] More uses of wrappers introduced in 11971
Also fix a typo that caused problems with Stances Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
8433b67599
commit
e29e640341
7 changed files with 35 additions and 37 deletions
|
|
@ -1887,7 +1887,7 @@ valid examples:
|
|||
if (linkedSpell)
|
||||
{
|
||||
// spells with that flag have a prefix of "$PROFESSION: "
|
||||
if (linkedSpell->Attributes & SPELL_ATTR_TRADESPELL)
|
||||
if (linkedSpell->HasAttribute(SPELL_ATTR_TRADESPELL))
|
||||
{
|
||||
// lookup skillid
|
||||
SkillLineAbilityMapBounds bounds = sSpellMgr.GetSkillLineAbilityMapBounds(linkedSpell->Id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue