diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2011-04-28 19:04:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:07 +0000 |
commit | 8c29a963cca67730760a47455387c6871cc03212 (patch) | |
tree | dd010d61484b8fec2f615a92ec62043bc39fc507 | |
parent | 221e729a3b69381fed843749c9728f827217aa90 (diff) |
* Re-add the protocol cvar readonly, so that ui can use it
-rw-r--r-- | src/qcommon/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |