Browse Source

removed test ack functionality, need to revisit why we don't ack up to latest packets still seems there is some desync

Progress on Issue #97
Image 4 years ago
parent
commit
94f7ed4dd2
1 changed files with 0 additions and 6 deletions
  1. 0 6
      EQ2/source/common/EQStream.cpp

+ 0 - 6
EQ2/source/common/EQStream.cpp

@@ -1025,12 +1025,6 @@ void EQStream::AckPackets(uint16 seq)
 	SeqOrder ord = CompareSequence(SequencedBase, seq);
 	if (ord == SeqInOrder) {
 		//they are not acking anything new...
-
-		uint16 index = seq - SequencedBase;
-		if (SequencedQueue.size() > 0 && index > -1 && index < SequencedQueue.size() && seq == SequencedQueue[index]->sequence)
-		{
-			SequencedQueue[index]->acked = true;
-		}
 		LogWrite(PACKET__DEBUG, 9, "Packet",  "Received an ack with no window advancement (seq %u)", seq);
 	}
 	else if (ord == SeqPast) {