Cbuf_Init: raise cmd_text from 8k to 256k to handle large .cfgs, from QS-Spike

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1400 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Eric Wasylishen 2017-04-21 20:43:05 +00:00
parent 2ce62924b1
commit 3e4b9f8f6c

View file

@ -74,7 +74,7 @@ Cbuf_Init
*/
void Cbuf_Init (void)
{
SZ_Alloc (&cmd_text, 8192); // space for commands and script files
SZ_Alloc (&cmd_text, 1<<18); // space for commands and script files. spike -- was 8192, but modern configs can be _HUGE_, at least if they contain lots of comments/docs for things.
}