hedgewars/uIO.pas
changeset 8545 1385ab7219d9
parent 8543 b7f07363ee92
child 8620 6787f745da50
equal deleted inserted replaced
8543:b7f07363ee92 8545:1385ab7219d9
   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         
   253         
   254         if s[1] = 'N' then
   254         if (s[1] = 'N') or (s[1] = '#') then
   255             flushBuffer();
   255             flushBuffer();
   256         end else
   256         end else
   257         SDLNet_TCP_Send(IPCSock, @s, Succ(byte(s[0])))
   257         SDLNet_TCP_Send(IPCSock, @s, Succ(byte(s[0])))
   258     end
   258     end
   259 end;
   259 end;