Fixed storing of EnetAddresses in TransportAddress.
This commit is contained in:
parent
29e0b50e14
commit
17f588bcf2
@ -53,7 +53,7 @@ public:
|
||||
/** Construct an transport address from an ENetAddress. */
|
||||
TransportAddress(const ENetAddress &a)
|
||||
{
|
||||
m_ip = a.host;
|
||||
m_ip = htonl(a.host);
|
||||
m_port = a.port;
|
||||
} // TransportAddress(EnetAddress)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user