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
1 changed files with 5 additions and 1 deletions

View File

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