[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:
megamage
2009-02-01 16:51:20 -06:00
parent 8b05faacab
commit f6595630c3
2 changed files with 1 additions and 2 deletions

View File

@@ -248,7 +248,6 @@ void AchievementMgr::SendAchievementEarned(AchievementEntry const* achievement)
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
{
WorldPacket data(SMSG_MESSAGECHAT, 200);
data << uint8(CHAT_MSG_ACHIEVEMENT);
data << uint8(CHAT_MSG_GUILD_ACHIEVEMENT);
data << uint32(LANG_UNIVERSAL);
data << uint64(GetPlayer()->GetGUID());

View File

@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7217"
#define REVISION_NR "7218"
#endif // __REVISION_NR_H__