From 8c29a963cca67730760a47455387c6871cc03212 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Thu, 28 Apr 2011 19:04:45 +0000 Subject: * Re-add the protocol cvar readonly, so that ui can use it --- src/qcommon/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/qcommon/common.c b/src/qcommon/common.c index 1cf54d07..761fe726 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -2579,6 +2579,7 @@ void Com_Init( char *commandLine ) { s = va("%s %s %s", Q3_VERSION, PLATFORM_STRING, __DATE__ ); com_version = Cvar_Get ("version", s, CVAR_ROM | CVAR_SERVERINFO ); + Cvar_Get ("protocol", va("%i", PROTOCOL_VERSION), CVAR_SERVERINFO | CVAR_ROM); Sys_Init(); -- cgit