equal
deleted
inserted
replaced
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 |