mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-23 12:32:14 +00:00
fixed com_hunkMegs's min. string value in dedicated server builds
This commit is contained in:
parent
ba199c4de1
commit
741e5e2f12
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,7 @@ static void Com_InitHunkMemory()
|
|||
// allocate the stack based hunk allocator
|
||||
const cvar_t* cv = Cvar_Get( "com_hunkMegs", XSTRING(DEF_COMHUNKMEGS), CVAR_LATCH | CVAR_ARCHIVE );
|
||||
if (com_dedicated && com_dedicated->integer)
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_DEDICATED_COMHUNKMEGS), "256" );
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS_DED), "256" );
|
||||
else
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS), "256" );
|
||||
|
||||
|
|
Loading…
Reference in a new issue