From: fgsfds Date: Sat, 19 Aug 2017 16:03:35 +0000 (+0300) Subject: Revert "don't flush enet every message" X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=43b93cdfd0d02c486600ec7c4e79f5903da23418;p=d2df-sdl.git Revert "don't flush enet every message" This reverts commit 42057f398fd17568bb3dbc00b6ffd8c97a99c5e1. --- diff --git a/src/game/g_net.pas b/src/game/g_net.pas index b71d541..1de6e98 100644 --- a/src/game/g_net.pas +++ b/src/game/g_net.pas @@ -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;