1
0
forked from mirrors/0ad

Call enet_initialize (see previous commit message). Fixes #509.

This was SVN commit r7681.
This commit is contained in:
Ykkrosh
2010-07-03 19:31:14 +00:00
parent 3ff0ccc1fa
commit 56b836f58d
3 changed files with 26 additions and 0 deletions
+11
View File
@@ -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();
}