Skip to content

Commit

Permalink
Fix wrong channel type in Client/Server CommandFactories
Browse files Browse the repository at this point in the history
This is a u8 not a u16
  • Loading branch information
nerzhul committed Apr 14, 2017
1 parent b0be7ab commit 093e621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/network/clientopcodes.h
Expand Up @@ -41,7 +41,7 @@ struct ToClientCommandHandler
struct ServerCommandFactory
{
const char* name;
u16 channel;
u8 channel;
bool reliable;
};

Expand Down
2 changes: 1 addition & 1 deletion src/network/serveropcodes.h
Expand Up @@ -41,7 +41,7 @@ struct ToServerCommandHandler
struct ClientCommandFactory
{
const char* name;
u16 channel;
u8 channel;
bool reliable;
};

Expand Down

0 comments on commit 093e621

Please sign in to comment.