Fix intro crash

This commit is contained in:
Jaime Ita Passos 2020-12-10 22:01:53 -03:00
parent b899610f0f
commit d69430dd04

View file

@ -1747,6 +1747,9 @@ void *W_CachePatchNum(lumpnum_t lumpnum, INT32 tag)
void W_UnlockCachedPatch(void *patch)
{
if (!patch)
return;
// The hardware code does its own memory management, as its patches
// have different lifetimes from software's.
#ifdef HWRENDER