[engine]Replace some leftover instances of ETPROTOCOL_VERSION with PROTOCOL_VERSION.

[engine]Replace some leftover instances of ETPROTOCOL_VERSION with
PROTOCOL_VERSION.

diff --git a/src/engine/client/cl_main.cpp b/src/engine/client/cl_main.cpp
index 7ae17b8..dfdf495 100644
--- a/src/engine/client/cl_main.cpp
+++ b/src/engine/client/cl_main.cpp
@@ -2444,7 +2444,7 @@ void CL_CheckForResend( void )
             port = cvarSystem->VariableValue( "net_qport" );
             
             Q_strncpyz( info, cvarSystem->InfoString( CVAR_USERINFO ), sizeof( info ) );
-            Info_SetValueForKey( info, "protocol", va( "%i", ETPROTOCOL_VERSION ) );
+            Info_SetValueForKey( info, "protocol", va( "%i", PROTOCOL_VERSION ) );
             Info_SetValueForKey( info, "qport", va( "%i", port ) );
             Info_SetValueForKey( info, "challenge", va( "%i", clc.challenge ) );
             
diff --git a/src/engine/qcommon/common.cpp b/src/engine/qcommon/common.cpp
index 75c8c1d..1763ca1 100644
--- a/src/engine/qcommon/common.cpp
+++ b/src/engine/qcommon/common.cpp
@@ -3277,7 +3277,7 @@ void Com_Init( valueType* commandLine )
     
     s = va( "%s %s %s %s", PRODUCT_NAME, OS_STRING, OS_STRING, __DATE__ );
     com_version = cvarSystem->Get( "version", s, CVAR_ROM | CVAR_SERVERINFO, "Records all info about the application version: build number, build date, win/linux etc" );
-    com_protocol = cvarSystem->Get( "protocol", va( "%i", ETPROTOCOL_VERSION ), CVAR_SERVERINFO | CVAR_ARCHIVE, "Returns the current protocol (changes with patches)." );
+    com_protocol = cvarSystem->Get( "protocol", va( "%i", PROTOCOL_VERSION ), CVAR_SERVERINFO | CVAR_ARCHIVE, "Returns the current protocol (changes with patches)." );
     
     idsystem->Init();
     
@@ -3826,4 +3826,4 @@ void Com_RandomBytes( uchar8* string, sint len )
     {
         string[i] = static_cast<uchar8>( rand() % 255 );
     }
-}
\ No newline at end of file
+}

GitHub
sha: c6bc6af9