hedgewars/uGame.pas
changeset 143 3dacbd83209b
parent 113 d975a426ebf7
child 162 4822f6face35
equal deleted inserted replaced
142:1ff0b02fe367 143:3dacbd83209b
    57    NetGetNextCmd; // its for the case when receiving "/say" message
    57    NetGetNextCmd; // its for the case when receiving "/say" message
    58    isInLag:= false;
    58    isInLag:= false;
    59    inc(SendEmptyPacketTicks, Lag);
    59    inc(SendEmptyPacketTicks, Lag);
    60    if SendEmptyPacketTicks >= cSendEmptyPacketTime then
    60    if SendEmptyPacketTicks >= cSendEmptyPacketTime then
    61       begin
    61       begin
    62       SendIPC('N');
    62       SendIPC('+');
    63       SendEmptyPacketTicks:= 0
    63       SendEmptyPacketTicks:= 0
    64       end
    64       end
    65    end;
    65    end;
    66 
    66 
    67 if Lag > 100 then Lag:= 100
    67 if Lag > 100 then Lag:= 100