Add facility to describe cvars

This commit is contained in:
Tim Angus 2014-09-26 14:29:51 +01:00
parent f9c202f83e
commit f83334d81b
6 changed files with 29 additions and 0 deletions

View file

@ -1537,6 +1537,7 @@ void Com_InitHunkMemory( void ) {
// allocate the stack based hunk allocator
cv = Cvar_Get( "com_hunkMegs", DEF_COMHUNKMEGS_S, CVAR_LATCH | CVAR_ARCHIVE );
Cvar_SetDescription(cv, "The size of the hunk memory segment");
// if we are not dedicated min allocation is 56, otherwise min is 1
if (com_dedicated && com_dedicated->integer) {