Broadcast NET_HOST_DROPPED on host dropped in NET_fillBUffer()
(2.3 r9992) git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10001 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
ae3e6e80a7
commit
66d2fb68ec
|
@ -1368,6 +1368,8 @@ static BOOL NET_fillBuffer(NETBUFSOCKET* bs, SocketSet* socket_set)
|
|||
tcp_socket = NULL;
|
||||
//Game is pretty much over --should just end everything when HOST dies.
|
||||
NetPlay.isHostAlive = false;
|
||||
NETbeginEncode(NET_HOST_DROPPED, NET_ALL_PLAYERS);
|
||||
NETend();
|
||||
}
|
||||
socketClose(bs->socket);
|
||||
bs->socket = NULL;
|
||||
|
|
Loading…
Reference in New Issue