* Send the proper number of accounts in a guild in the SMSG_GUILD_INFO packet

* Patch by Toinan67

--HG--
branch : trunk
This commit is contained in:
Brian
2010-07-28 17:19:39 -06:00
parent 1b382e5858
commit 22d75dabda
4 changed files with 40 additions and 10 deletions
@@ -234,8 +234,8 @@ void WorldSession::HandleGuildInfoOpcode(WorldPacket& /*recvPacket*/)
WorldPacket data(SMSG_GUILD_INFO, (guild->GetName().size() + 4 + 4 + 4));
data << guild->GetName();
data << secsToTimeBitFields(guild->GetCreatedDate()); // 3.x (prev. year + month + day)
data << guild->GetMemberSize(); // char amount
data << guild->GetMemberSize(); // acc amount
data << guild->GetMemberSize(); // char amount
data << guild->GetAccountsNumber(); // amount of accounts
SendPacket(&data);
}