[Client] Fix building

This commit is contained in:
Koncord 2017-07-03 23:25:58 +08:00
parent 60574ae667
commit b2339f2f9a

View File

@ -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);