From: Loic Blot Date: Fri, 14 Apr 2017 13:56:40 +0000 (+0200) Subject: Fix wrong channel type in Client/Server CommandFactories X-Git-Tag: 0.4.16~247 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=093e621643edf3bc7fa46e58cb1b5d940365ce22;p=oweals%2Fminetest.git Fix wrong channel type in Client/Server CommandFactories This is a u8 not a u16 --- 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; };