mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-04-20 09:55:38 +00:00
Cbuf_Init: raise cmd_text from 8k to 256k to handle large .cfgs, from QS-Spike
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1400 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
1f3d93089e
commit
53ea710a74
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue