mirror of https://github.com/ZDoom/gzdoom.git
Fixed crash on early fatal error exit
Process terminates correctly if zdoom.pk3 is missing
This commit is contained in:
parent
efc9ed2fe9
commit
d7683a8c55
|
@ -330,7 +330,11 @@ DObject::~DObject ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
type->DestroySpecials(this);
|
|
||||||
|
if (nullptr != type)
|
||||||
|
{
|
||||||
|
type->DestroySpecials(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue