More opcodes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
Yaki Khadafi 2012-08-05 23:15:06 +03:00 committed by Antz
parent 4628d0ba67
commit a337fb87f4
3 changed files with 13 additions and 14 deletions

View file

@ -5902,7 +5902,6 @@ void Player::SendInitialActionButtons() const
DETAIL_LOG("Initializing Action Buttons for '%u' spec '%u'", GetGUIDLow(), m_activeSpec);
WorldPacket data(SMSG_ACTION_BUTTONS, 1 + (MAX_ACTION_BUTTONS * 4));
data << uint8(1); // talent spec amount (in packet)
ActionButtonList const& currentActionButtonList = m_actionButtons[m_activeSpec];
for (uint8 button = 0; button < MAX_ACTION_BUTTONS; ++button)
{
@ -5912,7 +5911,7 @@ void Player::SendInitialActionButtons() const
else
data << uint32(0);
}
data << uint8(1); // talent spec amount (in packet)
GetSession()->SendPacket(&data);
DETAIL_LOG("Action Buttons for '%u' spec '%u' Initialized", GetGUIDLow(), m_activeSpec);
}