Changeset 265 for trunk/src/game/Pet.cpp
- Timestamp:
- 11/21/08 08:48:46 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Pet.cpp
r262 r265 1467 1467 1468 1468 // same spells don't have autocast option 1469 if (spellInfo->AttributesEx & SPELL_ATTR_EX_UNAUTOCASTABLE_BY_PET) active = ACT_CAST; 1469 if (spellInfo->AttributesEx & SPELL_ATTR_EX_UNAUTOCASTABLE_BY_PET) 1470 active = ACT_CAST; 1470 1471 1471 1472 PetSpellMap::iterator itr = m_spells.find(spell_id); … … 1543 1544 CastSpell(this, spell_id, true); 1544 1545 else if(state == PETSPELL_NEW) 1545 m_charmInfo->AddSpellToAB(oldspell_id, spell_id, active);1546 m_charmInfo->AddSpellToAB(oldspell_id, spell_id, (ActiveStates)active); 1546 1547 1547 1548 if(newspell->active == ACT_ENABLED)