git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5157
d7cf8633-e32d-0410-b094-
e92efae38249
=============================================================================
*/
=============================================================================
*/
+ // LordHavoc: inreased this from 8192 to 32768
static sizebuf_t cmd_text;
static sizebuf_t cmd_text;
+static qbyte cmd_text_buf[32768];
*/
void Cbuf_Init (void)
{
*/
void Cbuf_Init (void)
{
- // LordHavoc: inreased this from 8192 to 32768
- SZ_Alloc (&cmd_text, 32768, "command buffer"); // space for commands and script files
+ // space for commands and script files
+ cmd_text.data = cmd_text_buf;
+ cmd_text.maxsize = sizeof(cmd_text_buf);
+ cmd_text.cursize = 0;
*/
void Cbuf_Shutdown (void)
{
*/
void Cbuf_Shutdown (void)
{