Netplay: Don't log skippable events as errors

This commit is contained in:
Floogle
2023-10-28 17:57:22 +02:00
parent 220988d064
commit bee6d5bfb6
5 changed files with 16 additions and 5 deletions

View File

@ -21,4 +21,7 @@ using ENetHostPtr = std::unique_ptr<ENetHost, ENetHostDeleter>;
void WakeupThread(ENetHost* host);
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id);
// used for traversal packets and wake-up packets
constexpr ENetEventType SKIPPABLE_EVENT = ENetEventType(42);
} // namespace Common::ENet