fix stupid crash
This commit is contained in:
parent
456736d548
commit
5153b17dac
|
@ -825,6 +825,8 @@ void SetMPRecvTimeout(int timeout)
|
|||
|
||||
void MPBegin()
|
||||
{
|
||||
if (!Host) return;
|
||||
|
||||
ConnectedBitmask |= (1<<MyPlayer.ID);
|
||||
LastHostID = -1;
|
||||
LastHostPeer = nullptr;
|
||||
|
@ -836,6 +838,8 @@ void MPBegin()
|
|||
|
||||
void MPEnd()
|
||||
{
|
||||
if (!Host) return;
|
||||
|
||||
ConnectedBitmask &= ~(1<<MyPlayer.ID);
|
||||
|
||||
u8 cmd[2] = {0x05, (u8)MyPlayer.ID};
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "LAN_Socket.h"
|
||||
#include "LAN_PCap.h"
|
||||
#include "IPC.h"
|
||||
#include "IPC.h"
|
||||
#include "LAN.h"
|
||||
#include "OSD.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue