Updated some structs and enums.

This commit is contained in:
TOM_RUS 2011-04-14 08:12:57 +04:00
parent 9c34efec41
commit 0f8c46878b
14 changed files with 783 additions and 695 deletions

View file

@ -938,7 +938,7 @@ void WorldSession::SetPlayer( Player *plr )
void WorldSession::SendRedirectClient(std::string& ip, uint16 port)
{
uint32 ip2 = ACE_OS::inet_addr(ip.c_str());
WorldPacket pkt(SMSG_REDIRECT_CLIENT, 4 + 2 + 4 + 20);
WorldPacket pkt(SMSG_CONNECT_TO, 4 + 2 + 4 + 20);
pkt << uint32(ip2); // inet_addr(ipstr)
pkt << uint16(port); // port