mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Ensure demo files will save to srb2home, where SRB2 already looks for them.
This commit is contained in:
parent
e62c0794dc
commit
2798bd5c16
1 changed files with 4 additions and 1 deletions
|
@ -5579,7 +5579,10 @@ boolean G_CheckDemoStatus(void)
|
|||
WRITEUINT8(demo_p, DEMOMARKER); // add the demo end marker
|
||||
md5_buffer((char *)p+16, demo_p - (p+16), p); // make a checksum of everything after the checksum in the file.
|
||||
#endif
|
||||
saved = FIL_WriteFile(demoname, demobuffer, demo_p - demobuffer); // finally output the file.
|
||||
|
||||
char fulldemoname [128];
|
||||
sprintf(fulldemoname, "%s"PATHSEP"%s", srb2home, demoname);
|
||||
saved = FIL_WriteFile(fulldemoname, demobuffer, demo_p - demobuffer); // finally output the file.
|
||||
free(demobuffer);
|
||||
demorecording = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue