From cc7541f132505ba370152bb657d9f9667c9c415d Mon Sep 17 00:00:00 2001 From: nillerusr Date: Thu, 16 Feb 2023 22:47:32 +0300 Subject: [PATCH] change PROTOCOL_VERSION to 25 --- common/proto_version.h | 2 +- engine/baseserver.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/proto_version.h b/common/proto_version.h index c4e7ca04..833f5b22 100644 --- a/common/proto_version.h +++ b/common/proto_version.h @@ -12,7 +12,7 @@ #endif // The current network protocol version. Changing this makes clients and servers incompatible -#define PROTOCOL_VERSION 24 +#define PROTOCOL_VERSION 25 #define DEMO_BACKWARDCOMPATABILITY diff --git a/engine/baseserver.cpp b/engine/baseserver.cpp index d9c61a96..2c5e4238 100644 --- a/engine/baseserver.cpp +++ b/engine/baseserver.cpp @@ -1404,12 +1404,12 @@ bool CBaseServer::CheckProtocol( netadr_t &adr, int nProtocol, int clientChallen // Client is newer than server if ( nProtocol > PROTOCOL_VERSION ) { - RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectOldProtocol" ); + RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectOldVersion" ); } else // Server is newer than client { - RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectNewProtocol" ); + RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectNewVersion" ); } return false; }