From dea7c83361011bdbf9360347619304f553aa5b9a Mon Sep 17 00:00:00 2001 From: NY00123 Date: Sat, 18 Apr 2020 23:54:28 +0300 Subject: [PATCH] sw/src/network.cpp: Fix sending of messages in Master/Slave. Thanks Dynamo for spotting the bug. --- source/sw/src/network.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/sw/src/network.cpp b/source/sw/src/network.cpp index 760e51ca2..91a7724be 100644 --- a/source/sw/src/network.cpp +++ b/source/sw/src/network.cpp @@ -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);