hedgewars/uIO.pas
changeset 8543 b7f07363ee92
parent 8498 eecadca7db50
child 8545 1385ab7219d9
equal deleted inserted replaced
8541:0cd63b963330 8543:b7f07363ee92
   247         begin
   247         begin
   248         if sendBuffer.count + byte(s[0]) >= cSendBufferSize then
   248         if sendBuffer.count + byte(s[0]) >= cSendBufferSize then
   249             flushBuffer();
   249             flushBuffer();
   250             
   250             
   251         Move(s, sendBuffer.buf[sendBuffer.count], byte(s[0]) + 1);
   251         Move(s, sendBuffer.buf[sendBuffer.count], byte(s[0]) + 1);
   252         inc(sendBuffer.count, byte(s[0]) + 1)
   252         inc(sendBuffer.count, byte(s[0]) + 1);
       
   253         
       
   254         if s[1] = 'N' then
       
   255             flushBuffer();
   253         end else
   256         end else
   254         SDLNet_TCP_Send(IPCSock, @s, Succ(byte(s[0])))
   257         SDLNet_TCP_Send(IPCSock, @s, Succ(byte(s[0])))
   255     end
   258     end
   256 end;
   259 end;
   257 
   260