From 6ccb5835ff55d85156be91473c598eca9d6cb9a6 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 4 Nov 2020 16:57:41 +0100 Subject: Revert "Make Lint Happy" This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4. --- src/network/clientopcodes.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/network/clientopcodes.h') diff --git a/src/network/clientopcodes.h b/src/network/clientopcodes.h index d984d0cb7..d03dc457d 100644 --- a/src/network/clientopcodes.h +++ b/src/network/clientopcodes.h @@ -25,8 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class NetworkPacket; -enum ToClientConnectionState -{ +enum ToClientConnectionState { TOCLIENT_STATE_NOT_CONNECTED, TOCLIENT_STATE_CONNECTED, TOCLIENT_STATE_ALL, @@ -34,14 +33,14 @@ enum ToClientConnectionState struct ToClientCommandHandler { - const char *name; - ToClientConnectionState state; - void (Client::*handler)(NetworkPacket *pkt); + const char* name; + ToClientConnectionState state; + void (Client::*handler)(NetworkPacket* pkt); }; struct ServerCommandFactory { - const char *name; + const char* name; u8 channel; bool reliable; }; -- cgit v1.2.3