[Server] Fix initialization of mclient

This commit is contained in:
Koncord 2017-05-07 02:14:08 +08:00
parent a4a77ddeff
commit 26445355e6

View file

@ -31,7 +31,7 @@ Networking *Networking::sThis = 0;
static int currentMpNum = 0;
Networking::Networking(RakNet::RakPeerInterface *peer)
Networking::Networking(RakNet::RakPeerInterface *peer) : mclient(nullptr)
{
sThis = this;
this->peer = peer;