mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
sw/src/network.cpp: Fix sending of messages in Master/Slave.
Thanks Dynamo for spotting the bug.
This commit is contained in:
parent
63743eea67
commit
dea7c83361
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue