mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[11561] Add missing byte (unknown) to SMSG_LOOT_MONEY_NOTIFY
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
598c843548
commit
539e77b08f
2 changed files with 6 additions and 4 deletions
|
|
@ -254,10 +254,12 @@ void WorldSession::HandleLootMoneyOpcode( WorldPacket & /*recv_data*/ )
|
|||
{
|
||||
(*i)->ModifyMoney( money_per_player );
|
||||
(*i)->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_MONEY, money_per_player);
|
||||
//Offset surely incorrect, but works
|
||||
WorldPacket data( SMSG_LOOT_MONEY_NOTIFY, 4 );
|
||||
|
||||
WorldPacket data(SMSG_LOOT_MONEY_NOTIFY, 4+1);
|
||||
data << uint32(money_per_player);
|
||||
(*i)->GetSession()->SendPacket( &data );
|
||||
data << uint8(0); // unknown
|
||||
|
||||
(*i)->GetSession()->SendPacket(&data);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11560"
|
||||
#define REVISION_NR "11561"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue