Fix spelling of NETMSG_AUTH_CHALLENGE constant

This commit is contained in:
Robert Müller 2023-01-03 13:09:59 +01:00
parent 25e01eb762
commit e4b1db1b6d
2 changed files with 2 additions and 2 deletions

View file

@ -748,7 +748,7 @@ static inline bool RepackMsg(const CMsgPacker *pMsg, CPacker &Packer, bool Sixup
MsgId += 1;
else if(MsgId == NETMSG_RCON_LINE)
MsgId = 13;
else if(MsgId >= NETMSG_AUTH_CHALLANGE && MsgId <= NETMSG_AUTH_RESULT)
else if(MsgId >= NETMSG_AUTH_CHALLENGE && MsgId <= NETMSG_AUTH_RESULT)
MsgId += 4;
else if(MsgId >= NETMSG_PING && MsgId <= NETMSG_ERROR)
MsgId += 4;

View file

@ -47,7 +47,7 @@ enum
NETMSG_RCON_AUTH_STATUS, // result of the authentication
NETMSG_RCON_LINE, // line that should be printed to the remote console
NETMSG_AUTH_CHALLANGE, //
NETMSG_AUTH_CHALLENGE, //
NETMSG_AUTH_RESULT, //
// sent by client