mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
Updated some structs and enums.
This commit is contained in:
parent
9c34efec41
commit
0f8c46878b
14 changed files with 783 additions and 695 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue