[11555] Add a comment for SMSG_UPDATE_COMBO_POINTS

Remove another obsolete comment

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-05-28 20:54:10 +02:00
parent 6b3359575b
commit 8d8abd2afb
2 changed files with 9 additions and 2 deletions

View file

@ -18098,7 +18098,7 @@ void Player::SendAttackSwingBadFacingAttack()
void Player::SendAutoRepeatCancel(Unit *target) void Player::SendAutoRepeatCancel(Unit *target)
{ {
WorldPacket data(SMSG_CANCEL_AUTO_REPEAT, target->GetPackGUID().size()); WorldPacket data(SMSG_CANCEL_AUTO_REPEAT, target->GetPackGUID().size());
data << target->GetPackGUID(); // may be it's target guid data << target->GetPackGUID();
GetSession()->SendPacket( &data ); GetSession()->SendPacket( &data );
} }
@ -20014,6 +20014,13 @@ void Player::SendComboPoints()
data << uint8(m_comboPoints); data << uint8(m_comboPoints);
GetSession()->SendPacket(&data); GetSession()->SendPacket(&data);
} }
/*else
{
// can be NULL, and then points=0. Use unknown; to reset points of some sort?
data << PackedGuid();
data << uint8(0);
GetSession()->SendPacket(&data);
}*/
} }
void Player::AddComboPoints(Unit* target, int8 count) void Player::AddComboPoints(Unit* target, int8 count)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11554" #define REVISION_NR "11555"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__