Merge branch 'fat-demos' into 'master'

Double demo buffer size

See merge request KartKrew/Kart!1862
This commit is contained in:
Sal 2024-01-22 21:11:31 +00:00
commit 4fb287f47b

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;