From fa86c69c49199171cc36e441a9816918f0d576bc Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Thu, 17 Dec 2009 18:21:06 +0100 Subject: [8987] Allow swap spell and command/reaction in pet action bar. --HG-- branch : trunk --- src/game/Pet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/game/Pet.cpp') 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()) << " "; -- cgit v1.2.3