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,7 +330,11 @@ DObject::~DObject ()
}
}
}
type->DestroySpecials(this);
if (nullptr != type)
{
type->DestroySpecials(this);
}
}
}