[8987] Allow swap spell and command/reaction in pet action bar.
--HG-- branch : trunk
This commit is contained in:
1 parent
e7aa376e21
commit
fa86c69c49
2 files changed
+51
-16
No files matched your search
+1
-2
@@ -435,8 +435,7 @@ void Pet::SavePetToDB(PetSaveMode mode)
|
||||
<< curmana << ", "
|
||||
<< GetPower(POWER_HAPPINESS) << ", '";
|
||||
|
||||
// save only spell slots from action bar
|
||||
for (uint32 i = ACTION_BAR_INDEX_PET_SPELL_START; i < ACTION_BAR_INDEX_PET_SPELL_END; ++i)
|
||||
for(uint32 i = ACTION_BAR_INDEX_START; i < ACTION_BAR_INDEX_END; ++i)
|
||||
{
|
||||
ss << uint32(m_charmInfo->GetActionBarEntry(i)->GetType()) << " "
|
||||
<< uint32(m_charmInfo->GetActionBarEntry(i)->GetAction()) << " ";
|
||||
|
||||
Reference in new issue
Block a user