forked from mirrors/0ad
Call enet_initialize (see previous commit message). Fixes #509.
This was SVN commit r7681.
This commit is contained in:
@@ -67,3 +67,14 @@ ENetPacket* CNetHost::CreatePacket(const CNetMessage* message)
|
||||
|
||||
return packet;
|
||||
}
|
||||
|
||||
void CNetHost::Initialize()
|
||||
{
|
||||
int ret = enet_initialize();
|
||||
debug_assert(ret == 0);
|
||||
}
|
||||
|
||||
void CNetHost::Deinitialize()
|
||||
{
|
||||
enet_deinitialize();
|
||||
}
|
||||
Reference in New Issue
Block a user