diff options
author | B3n30 <benediktthomas@gmail.com> | 2017-07-15 21:24:11 +0200 |
---|---|---|
committer | B3n30 <benediktthomas@gmail.com> | 2017-07-16 21:30:17 +0200 |
commit | 77df82f5d66683f4928c4ad37f1deb77b79bb7df (patch) | |
tree | 036bb0c3ae09eccfa1e4de78c38083daf4835c85 /src/network/room.h | |
parent | 253d3dd3d889eb61131810b04137ee3f9445db64 (diff) |
Network: Changed timeout for receiving packets to 100ms
Diffstat (limited to 'src/network/room.h')
-rw-r--r-- | src/network/room.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/room.h b/src/network/room.h index ffa17599d..54cccf0ae 100644 --- a/src/network/room.h +++ b/src/network/room.h @@ -30,8 +30,7 @@ const MacAddress NoPreferredMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; constexpr MacAddress BroadcastMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; // The different types of messages that can be sent. The first byte of each packet defines the type -using MessageID = u8; -enum RoomMessageTypes { +enum RoomMessageTypes : u8 { IdJoinRequest = 1, IdJoinSuccess, IdRoomInformation, |