From 2c31bd1a52327fc44019ccebd3b44ee1197e35c2 Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Sun, 12 Aug 2018 17:55:15 -0500 Subject: [PATCH] network: fix 3 typos --- src/network/room.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/room.cpp b/src/network/room.cpp index d6b032baf..7184ca4b1 100644 --- a/src/network/room.cpp +++ b/src/network/room.cpp @@ -195,7 +195,7 @@ void Room::RoomImpl::StartLoop() { void Room::RoomImpl::HandleJoinRequest(const ENetEvent* event) { Packet packet; 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; packet >> nickname; @@ -423,7 +423,7 @@ void Room::RoomImpl::HandleChatPacket(const ENetEvent* event) { Packet in_packet; 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; in_packet >> message; auto CompareNetworkAddress = [event](const Member member) -> bool { @@ -465,7 +465,7 @@ void Room::RoomImpl::HandleGameNamePacket(const ENetEvent* event) { Packet in_packet; 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; in_packet >> game_info.name; in_packet >> game_info.id;