X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_net.pas;h=b71d541231d055004b2c919a1d04aae3cdee3e41;hb=512930af83dba9b49ac46a3520f7e8cb17f5d3c9;hp=944ce6f6727eb3746ff56c901238e6ccecbaa035;hpb=5d418dab48047a9d00fc901b1c632cd83d5182ff;p=d2df-sdl.git diff --git a/src/game/g_net.pas b/src/game/g_net.pas index 944ce6f..b71d541 100644 --- a/src/game/g_net.pas +++ b/src/game/g_net.pas @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . *) -{$MODE DELPHI} +{$INCLUDE ../shared/a_modes.inc} unit g_net; interface @@ -447,7 +447,7 @@ begin end; if NetDump then g_Net_DumpSendBuffer(); - g_Net_Flush(); + // g_Net_Flush(); e_Buffer_Clear(@NetOut); end; @@ -668,7 +668,7 @@ begin enet_peer_send(NetPeer, Chan, P); if NetDump then g_Net_DumpSendBuffer(); - g_Net_Flush(); + // g_Net_Flush(); e_Buffer_Clear(@NetOut); end; @@ -714,7 +714,7 @@ begin end; end; end; - g_Net_Flush(); + // g_Net_Flush(); end; function g_Net_Connect(IP: string; Port: enet_uint16): Boolean;