mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:10:06 +00:00 
			
		
		
		
	Text and special symbol packet, fixing linked vector packet size
This commit is contained in:
		
							parent
							
								
									e505edf156
								
							
						
					
					
						commit
						b65e9a3561
					
				
					 3 changed files with 184 additions and 1 deletions
				
			
		|  | @ -85,7 +85,7 @@ bool LinkedVectorPacket::Parse(std::istream& is) | |||
|    p->packetCode_    = ntohs(p->packetCode_); | ||||
|    p->lengthOfBlock_ = ntohs(p->lengthOfBlock_); | ||||
| 
 | ||||
|    int vectorSize = static_cast<int>(p->lengthOfBlock_) - 2; | ||||
|    int vectorSize = static_cast<int>(p->lengthOfBlock_) - 4; | ||||
| 
 | ||||
|    if (is.eof()) | ||||
|    { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat