mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +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