From b2339f2f9aa304c965ede2bd3f6122c6452b4eac Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 3 Jul 2017 23:25:58 +0800 Subject: [PATCH] [Client] Fix building --- apps/openmw/mwmp/Networking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index ad156b9fc..ff9375b25 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -176,8 +176,8 @@ Networking::Networking(): peer(RakNet::RakPeerInterface::GetInstance()), playerP RakNet::SocketDescriptor sd; sd.port=0; - peer->Startup(1, &sd, 1); - RakAssert(b==RAKNET_STARTED); + auto b = peer->Startup(1, &sd, 1); + RakAssert(b==RakNet::RAKNET_STARTED); playerPacketController.SetStream(0, &bsOut); actorPacketController.SetStream(0, &bsOut);