Skip to content

Commit 093e621

Browse files
committed
Fix wrong channel type in Client/Server CommandFactories
This is a u8 not a u16
1 parent b0be7ab commit 093e621

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/network/clientopcodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct ToClientCommandHandler
4141
struct ServerCommandFactory
4242
{
4343
const char* name;
44-
u16 channel;
44+
u8 channel;
4545
bool reliable;
4646
};
4747

src/network/serveropcodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct ToServerCommandHandler
4141
struct ClientCommandFactory
4242
{
4343
const char* name;
44-
u16 channel;
44+
u8 channel;
4545
bool reliable;
4646
};
4747

0 commit comments

Comments
 (0)