mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 13:10:55 +00:00
Fix MinGW/AppVeyor build.
This commit is contained in:
parent
2798bd5c16
commit
4abfe1e8f3
1 changed files with 1 additions and 1 deletions
|
@ -5529,6 +5529,7 @@ void G_StopDemo(void)
|
||||||
boolean G_CheckDemoStatus(void)
|
boolean G_CheckDemoStatus(void)
|
||||||
{
|
{
|
||||||
boolean saved;
|
boolean saved;
|
||||||
|
char fulldemoname[128]; //Demo name with srb2home path
|
||||||
|
|
||||||
if(ghosts) // ... ... ...
|
if(ghosts) // ... ... ...
|
||||||
ghosts = NULL; // :)
|
ghosts = NULL; // :)
|
||||||
|
@ -5580,7 +5581,6 @@ boolean G_CheckDemoStatus(void)
|
||||||
md5_buffer((char *)p+16, demo_p - (p+16), p); // make a checksum of everything after the checksum in the file.
|
md5_buffer((char *)p+16, demo_p - (p+16), p); // make a checksum of everything after the checksum in the file.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char fulldemoname [128];
|
|
||||||
sprintf(fulldemoname, "%s"PATHSEP"%s", srb2home, demoname);
|
sprintf(fulldemoname, "%s"PATHSEP"%s", srb2home, demoname);
|
||||||
saved = FIL_WriteFile(fulldemoname, demobuffer, demo_p - demobuffer); // finally output the file.
|
saved = FIL_WriteFile(fulldemoname, demobuffer, demo_p - demobuffer); // finally output the file.
|
||||||
free(demobuffer);
|
free(demobuffer);
|
||||||
|
|
Loading…
Reference in a new issue