Fix double vres free in demo code
This commit is contained in:
parent
f8b2bd809d
commit
747c94e774
1 changed files with 1 additions and 1 deletions
|
|
@ -1461,12 +1461,12 @@ void F_TitleScreenTicker(boolean run)
|
|||
|
||||
if (vLump == NULL)
|
||||
{
|
||||
vres_Free(vRes);
|
||||
|
||||
if (((W_CheckNumForName(va("%sS%02u", mapheaderinfo[mapnum]->lumpname, numstaff)))) != LUMPERROR)
|
||||
sprintf(dname, "%sS%02u", mapheaderinfo[mapnum]->lumpname, numstaff);
|
||||
else
|
||||
{
|
||||
vres_Free(vRes);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue