Skip to content

Commit cc7541f

Browse files
committed
change PROTOCOL_VERSION to 25
1 parent 9919f7e commit cc7541f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/proto_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#endif
1313

1414
// The current network protocol version. Changing this makes clients and servers incompatible
15-
#define PROTOCOL_VERSION 24
15+
#define PROTOCOL_VERSION 25
1616

1717
#define DEMO_BACKWARDCOMPATABILITY
1818

engine/baseserver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,12 +1404,12 @@ bool CBaseServer::CheckProtocol( netadr_t &adr, int nProtocol, int clientChallen
14041404
// Client is newer than server
14051405
if ( nProtocol > PROTOCOL_VERSION )
14061406
{
1407-
RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectOldProtocol" );
1407+
RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectOldVersion" );
14081408
}
14091409
else
14101410
// Server is newer than client
14111411
{
1412-
RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectNewProtocol" );
1412+
RejectConnection( adr, clientChallenge, "#GameUI_ServerRejectNewVersion" );
14131413
}
14141414
return false;
14151415
}

0 commit comments

Comments
 (0)