mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-01 21:30:57 +00:00
com_hunkMegs doesn't have a maximum value anymore
This commit is contained in:
parent
f16d368775
commit
511c7ad2cc
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
|
||||
DD Mmm 18 - 1.50
|
||||
|
||||
chg: com_hunkMegs doesn't have a maximum value anymore
|
||||
a value too high would reset it and the engine might fail to load with the default value
|
||||
|
||||
fix: jitter due to snapshots piling up with the same server timestamp for loopback and LAN clients
|
||||
|
||||
fix: the Windows crash handler would incorrectly consider certain exceptions as fatal
|
||||
|
|
|
@ -1389,9 +1389,9 @@ 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_COMHUNKMEGS_DED), "256" );
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS_DED), NULL );
|
||||
else
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS), "256" );
|
||||
Cvar_SetRange( "com_hunkMegs", CVART_INTEGER, XSTRING(MIN_COMHUNKMEGS), NULL );
|
||||
|
||||
int nMinAlloc;
|
||||
const char* s;
|
||||
|
|
Loading…
Reference in a new issue