mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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,9 +330,13 @@ DObject::~DObject ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (nullptr != type)
|
||||||
|
{
|
||||||
type->DestroySpecials(this);
|
type->DestroySpecials(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue