diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-14 15:56:40 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-14 15:56:40 +0200 |
commit | 093e621643edf3bc7fa46e58cb1b5d940365ce22 (patch) | |
tree | 87308220cf52a59442a9f485a4de5839e9766ef9 /src/network | |
parent | b0be7ab61ec9ca04f2618db2d60f75396f205a58 (diff) | |
download | minetest-093e621643edf3bc7fa46e58cb1b5d940365ce22.tar.gz minetest-093e621643edf3bc7fa46e58cb1b5d940365ce22.tar.bz2 minetest-093e621643edf3bc7fa46e58cb1b5d940365ce22.zip |
Fix wrong channel type in Client/Server CommandFactories
This is a u8 not a u16
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/clientopcodes.h | 2 | ||||
-rw-r--r-- | src/network/serveropcodes.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/clientopcodes.h b/src/network/clientopcodes.h index 9143865b8..43a93bb4f 100644 --- a/src/network/clientopcodes.h +++ b/src/network/clientopcodes.h @@ -41,7 +41,7 @@ struct ToClientCommandHandler struct ServerCommandFactory { const char* name; - u16 channel; + u8 channel; bool reliable; }; diff --git a/src/network/serveropcodes.h b/src/network/serveropcodes.h index aa3301069..72323ae24 100644 --- a/src/network/serveropcodes.h +++ b/src/network/serveropcodes.h @@ -41,7 +41,7 @@ struct ToServerCommandHandler struct ClientCommandFactory { const char* name; - u16 channel; + u8 channel; bool reliable; }; |