Fix the wrong freeing function call being used in Patch_FreeData

This commit is contained in:
Jaime Passos 2020-10-13 19:18:01 -03:00
parent 63e471d902
commit fccbc00cac
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static void Patch_FreeData(patch_t *patch)
for (i = 0; i < 2; i++)
{
if (patch->flats[i])
Patch_Free(patch->flats[i]);
Z_Free(patch->flats[i]);
}
#ifdef ROTSPRITE