Fixed crash on early fatal error exit

Process terminates correctly if zdoom.pk3 is missing
This commit is contained in:
alexey.lysiuk 2016-10-02 10:13:45 +03:00
parent efc9ed2fe9
commit d7683a8c55

View file

@ -330,9 +330,13 @@ DObject::~DObject ()
} }
} }
} }
if (nullptr != type)
{
type->DestroySpecials(this); type->DestroySpecials(this);
} }
} }
}
//========================================================================== //==========================================================================
// //