mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-23 20:42:24 +00:00
Fixed crash on early fatal error exit
Process terminates correctly if zdoom.pk3 is missing
This commit is contained in:
parent
efc9ed2fe9
commit
d7683a8c55
1 changed files with 5 additions and 1 deletions
|
@ -330,7 +330,11 @@ DObject::~DObject ()
|
|||
}
|
||||
}
|
||||
}
|
||||
type->DestroySpecials(this);
|
||||
|
||||
if (nullptr != type)
|
||||
{
|
||||
type->DestroySpecials(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue