- removed incorrect assert.

This assert disallowed pointers to non GC'd objects, which on some occasions can happen and must be allowed.
This commit is contained in:
Christoph Oelckers 2019-01-22 00:32:45 +01:00
parent d911fa99a1
commit 5a054da4d9

View file

@ -255,7 +255,7 @@ void Mark(DObject **obj)
{ {
DObject *lobj = *obj; DObject *lobj = *obj;
assert(lobj == nullptr || !(lobj->ObjectFlags & OF_Released)); //assert(lobj == nullptr || !(lobj->ObjectFlags & OF_Released));
if (lobj != nullptr && !(lobj->ObjectFlags & OF_Released)) if (lobj != nullptr && !(lobj->ObjectFlags & OF_Released))
{ {
if (lobj->ObjectFlags & OF_EuthanizeMe) if (lobj->ObjectFlags & OF_EuthanizeMe)