Skip to content

Commit

Permalink
[11555] Add a comment for SMSG_UPDATE_COMBO_POINTS
Browse files Browse the repository at this point in the history
Remove another obsolete comment

Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed May 28, 2011
1 parent f9530a5 commit a6997a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/game/Player.cpp
Expand Up @@ -18098,7 +18098,7 @@ void Player::SendAttackSwingBadFacingAttack()
void Player::SendAutoRepeatCancel(Unit *target)
{
WorldPacket data(SMSG_CANCEL_AUTO_REPEAT, target->GetPackGUID().size());
data << target->GetPackGUID(); // may be it's target guid
data << target->GetPackGUID();
GetSession()->SendPacket( &data );
}

Expand Down Expand Up @@ -20014,6 +20014,13 @@ void Player::SendComboPoints()
data << uint8(m_comboPoints);
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)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11554"
#define REVISION_NR "11555"
#endif // __REVISION_NR_H__

0 comments on commit a6997a8

Please sign in to comment.