sw/src/network.cpp: Fix sending of messages in Master/Slave.

Thanks Dynamo for spotting the bug.
This commit is contained in:
NY00123 2020-04-18 23:54:28 +03:00 committed by Christoph Oelckers
parent 63743eea67
commit dea7c83361

View file

@ -1448,13 +1448,6 @@ getpackets(void)
pp = Player + otherconnectindex;
// retransmit if master and the message is not addressed to us
if (!NetBroadcastMode && myconnectindex == connecthead && packbuf[1] != myconnectindex)
{
netsendpacket(packbuf[1], packbuf, packbufleng);
break;
}
PlaySound(DIGI_PMESSAGE,tp,v3df_dontpan);
memcpy(ds,&packbuf[3],packbufleng-3);