mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9487] Fix a typo in Pet::addSpell
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
89cdcd2472
commit
9811c0d0e3
2 changed files with 2 additions and 2 deletions
|
|
@ -1372,7 +1372,7 @@ bool Pet::addSpell(uint32 spell_id,ActiveStates active /*= ACT_DECIDE*/, PetSpel
|
|||
if (IsPassiveSpell(spell_id))
|
||||
CastSpell(this, spell_id, true);
|
||||
else
|
||||
m_charmInfo->AddSpellToActionBar(spell_id);
|
||||
m_charmInfo->AddSpellToActionBar(spell_id, ActiveStates(newspell.active));
|
||||
|
||||
if(newspell.active == ACT_ENABLED)
|
||||
ToggleAutocast(spell_id, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue