* Minor cleanups/comments in regards to SMSG_GUILD_INFO.
--HG-- branch : trunk
This commit is contained in:
1 parent
31608cfb72
commit
bb99135e40
2 files changed
+7
-9
No files matched your search
@@ -240,11 +240,11 @@ void WorldSession::HandleGuildInfoOpcode(WorldPacket& /*recvPacket*/)
|
||||
return;
|
||||
}
|
||||
|
||||
WorldPacket data(SMSG_GUILD_INFO, (5*4 + guild->GetName().size() + 1));
|
||||
WorldPacket data(SMSG_GUILD_INFO, (guild->GetName().size() + 4 + 4 + 4));
|
||||
data << guild->GetName();
|
||||
data << secsToTimeBitFields(guild->GetCreatedDate());
|
||||
data << guild->GetMemberSize();
|
||||
data << guild->GetMemberSize();
|
||||
data << secsToTimeBitFields(guild->GetCreatedDate()); // 3.x (prev. year + month + day)
|
||||
data << guild->GetMemberSize(); // char amount
|
||||
data << guild->GetMemberSize(); // acc amount
|
||||
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user