From ce92f30022852361512065d902c9d2135a2eb9d1 Mon Sep 17 00:00:00 2001 From: Stanislav Zhukov Date: Wed, 13 Jul 2016 04:24:42 +0800 Subject: [PATCH] Fix maximum incoming connections --- apps/openmw-mp/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/main.cpp b/apps/openmw-mp/main.cpp index ac62eac60..ba226c8b9 100644 --- a/apps/openmw-mp/main.cpp +++ b/apps/openmw-mp/main.cpp @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) if (peer->Startup((unsigned)players, &sd, 1) != RakNet::RAKNET_STARTED) return 0; - peer->SetMaximumIncomingConnections((unsigned short)(players / 2)); + peer->SetMaximumIncomingConnections((unsigned short)(players)); Networking networking(peer);