hedgewars/uGame.pas
changeset 1612 111951f3512a
parent 1611 fe6dd0bd1886
child 1723 430064bafa18
equal deleted inserted replaced
1611:fe6dd0bd1886 1612:111951f3512a
    38 if (not CurrentTeam^.ExtDriven) then
    38 if (not CurrentTeam^.ExtDriven) then
    39    begin
    39    begin
    40    NetGetNextCmd; // its for the case of receiving "/say" message
    40    NetGetNextCmd; // its for the case of receiving "/say" message
    41    isInLag:= false;
    41    isInLag:= false;
    42    inc(SendEmptyPacketTicks, Lag);
    42    inc(SendEmptyPacketTicks, Lag);
    43    if (SendEmptyPacketTicks >= cSendEmptyPacketTime) and not ((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet))) then
    43    if (SendEmptyPacketTicks >= cSendEmptyPacketTime) then
    44       begin
    44       begin
    45       SendIPC('+');
    45       SendIPC('+');
    46       SendEmptyPacketTicks:= 0
    46       SendEmptyPacketTicks:= 0
    47       end
    47       end
    48    end;
    48    end;