mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-27 14:22:32 +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
|
// allocate the stack based hunk allocator
|
||||||
const cvar_t* cv = Cvar_Get( "com_hunkMegs", XSTRING(DEF_COMHUNKMEGS), CVAR_LATCH | CVAR_ARCHIVE );
|
const cvar_t* cv = Cvar_Get( "com_hunkMegs", XSTRING(DEF_COMHUNKMEGS), CVAR_LATCH | CVAR_ARCHIVE );
|
||||||
if (com_dedicated && com_dedicated->integer)
|
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
|
else
|
||||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS), "256" );
|
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS), "256" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue