Fix MinGW/AppVeyor build.

This commit is contained in:
ilag11111 2016-09-11 10:57:14 -07:00
parent 2798bd5c16
commit 4abfe1e8f3
1 changed files with 1 additions and 1 deletions

View File

@ -5529,6 +5529,7 @@ void G_StopDemo(void)
boolean G_CheckDemoStatus(void)
{
boolean saved;
char fulldemoname[128]; //Demo name with srb2home path
if(ghosts) // ... ... ...
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.
#endif
char fulldemoname [128];
sprintf(fulldemoname, "%s"PATHSEP"%s", srb2home, demoname);
saved = FIL_WriteFile(fulldemoname, demobuffer, demo_p - demobuffer); // finally output the file.
free(demobuffer);