Browse Source

Removed a part of the merged eqemu netcode as issues reported with this part of the code

Image 4 years ago
parent
commit
fa7c369470
1 changed files with 0 additions and 12 deletions
  1. 0 12
      EQ2/source/common/EQStream.cpp

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

@@ -217,18 +217,6 @@ bool EQStream::HandleEmbeddedPacket(EQProtocolPacket *p, int16 offset, int16 len
 void EQStream::ProcessPacket(EQProtocolPacket *p)
 {
 	uint32 processed=0,subpacket_length=0;
-	if (p == nullptr)
-		return;
-
-	if (p->opcode > 0xff) {
-		p->opcode = htons(p->opcode); //byte order is backwards in the protocol packet
-		EQApplicationPacket* ap = p->MakeApplicationPacket(2);
-		if (ap)
-			InboundQueuePush(ap);
-
-		LogWrite(PACKET__ERROR, 0, "Packet", "*** Received 0xff opcode, updated to %i",p->opcode);
-		return;
-	}
 
 	if (p) {