From 093e621643edf3bc7fa46e58cb1b5d940365ce22 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 14 Apr 2017 15:56:40 +0200 Subject: [PATCH] Fix wrong channel type in Client/Server CommandFactories This is a u8 not a u16 --- src/network/clientopcodes.h | 2 +- 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; };