[7218] Fixed used message CHAT_MSG_GUILD_ACHIEVEMENT format.
Guild members will not recieve achievement messages. Author: delavega --HG-- branch : trunk
This commit is contained in:
@@ -248,7 +248,6 @@ void AchievementMgr::SendAchievementEarned(AchievementEntry const* achievement)
|
|||||||
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
|
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
|
||||||
{
|
{
|
||||||
WorldPacket data(SMSG_MESSAGECHAT, 200);
|
WorldPacket data(SMSG_MESSAGECHAT, 200);
|
||||||
data << uint8(CHAT_MSG_ACHIEVEMENT);
|
|
||||||
data << uint8(CHAT_MSG_GUILD_ACHIEVEMENT);
|
data << uint8(CHAT_MSG_GUILD_ACHIEVEMENT);
|
||||||
data << uint32(LANG_UNIVERSAL);
|
data << uint32(LANG_UNIVERSAL);
|
||||||
data << uint64(GetPlayer()->GetGUID());
|
data << uint64(GetPlayer()->GetGUID());
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7217"
|
#define REVISION_NR "7218"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|||||||
Reference in New Issue
Block a user