Merge pull request #31 from markm11/ChaosMarcMirror2

This commit is contained in:
ChaosMarc 2020-11-09 09:28:34 +01:00 committed by GitHub
commit 9a7c818d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,14 @@ void freeCustomLibraries()
dll->release();
freeLibrary(dll->offset);
nextDll = dll->nextDll;
D2FogMemDeAlloc(dll,__FILE__,__LINE__,0);
if (version_D2Game == V114d)
{
delete dll;
}
else
{
D2FogMemDeAlloc(dll, __FILE__, __LINE__, 0);
}
dll = nextDll;
}
}