fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

Fix for ships blowing up with live debris submodels

Open Baezon opened this issue 1 month ago • 0 comments

Instead of searching for live debris, and then searching for that debris' parent, and then blowing them up, simply search for the submodels with live debris and blow them up directly. This simplifies the code and entirely skips needing and allows for the deletion of model_get_parent_submodel_for_live_debris which is good because it only handled submodels with live debris if they were a direct child of detail0, and would error if a ship with such a submodel were destroyed.

Baezon avatar Dec 09 '25 17:12 Baezon