mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	network: fix 3 typos
This commit is contained in:
		
							parent
							
								
									1b1439c6af
								
							
						
					
					
						commit
						2c31bd1a52
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -195,7 +195,7 @@ void Room::RoomImpl::StartLoop() { | ||||||
| void Room::RoomImpl::HandleJoinRequest(const ENetEvent* event) { | void Room::RoomImpl::HandleJoinRequest(const ENetEvent* event) { | ||||||
|     Packet packet; |     Packet packet; | ||||||
|     packet.Append(event->packet->data, event->packet->dataLength); |     packet.Append(event->packet->data, event->packet->dataLength); | ||||||
|     packet.IgnoreBytes(sizeof(u8)); // Igonore the message type
 |     packet.IgnoreBytes(sizeof(u8)); // Ignore the message type
 | ||||||
|     std::string nickname; |     std::string nickname; | ||||||
|     packet >> nickname; |     packet >> nickname; | ||||||
| 
 | 
 | ||||||
|  | @ -423,7 +423,7 @@ void Room::RoomImpl::HandleChatPacket(const ENetEvent* event) { | ||||||
|     Packet in_packet; |     Packet in_packet; | ||||||
|     in_packet.Append(event->packet->data, event->packet->dataLength); |     in_packet.Append(event->packet->data, event->packet->dataLength); | ||||||
| 
 | 
 | ||||||
|     in_packet.IgnoreBytes(sizeof(u8)); // Igonore the message type
 |     in_packet.IgnoreBytes(sizeof(u8)); // Ignore the message type
 | ||||||
|     std::string message; |     std::string message; | ||||||
|     in_packet >> message; |     in_packet >> message; | ||||||
|     auto CompareNetworkAddress = [event](const Member member) -> bool { |     auto CompareNetworkAddress = [event](const Member member) -> bool { | ||||||
|  | @ -465,7 +465,7 @@ void Room::RoomImpl::HandleGameNamePacket(const ENetEvent* event) { | ||||||
|     Packet in_packet; |     Packet in_packet; | ||||||
|     in_packet.Append(event->packet->data, event->packet->dataLength); |     in_packet.Append(event->packet->data, event->packet->dataLength); | ||||||
| 
 | 
 | ||||||
|     in_packet.IgnoreBytes(sizeof(u8)); // Igonore the message type
 |     in_packet.IgnoreBytes(sizeof(u8)); // Ignore the message type
 | ||||||
|     GameInfo game_info; |     GameInfo game_info; | ||||||
|     in_packet >> game_info.name; |     in_packet >> game_info.name; | ||||||
|     in_packet >> game_info.id; |     in_packet >> game_info.id; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue