mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[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:
parent
6b3359575b
commit
8d8abd2afb
2 changed files with 9 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue