diff options
author | n0n4m3 <none@none> | 2009-12-17 18:21:06 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 18:21:06 +0100 |
commit | fa86c69c49199171cc36e441a9816918f0d576bc (patch) | |
tree | 18199b66101ff74d5c15db10340002c0c11a83e3 /src/game/Pet.cpp | |
parent | e7aa376e214355b3ac276f7491b523e038ead6f2 (diff) |
[8987] Allow swap spell and command/reaction in pet action bar.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r-- | src/game/Pet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 95f1300a1bb..373f611094b 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -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()) << " "; |