Double demo buffer size

This commit is contained in:
AJ Martinez 2024-01-20 19:49:13 -07:00
parent 8f320b6ac2
commit e6f265c762

View file

@ -2092,7 +2092,8 @@ void G_RecordDemo(const char *name)
strcpy(demoname, name);
strcat(demoname, ".lmp");
//@TODO make a maxdemosize cvar
maxsize = 1024*1024*2;
// NOPE. We are kicking this can HELLA down the road. -Tyron 2024-01-20
maxsize = 1024*1024*4;
if (M_CheckParm("-maxdemo") && M_IsNextParm())
maxsize = atoi(M_GetNextParm()) * 1024;