mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 13:01:29 -10:00
* Fixes Debris not inheriting parent ship texture replacements Debris chunks that use the same texture as the actual hull model are not updated when `texture-replace` methods are used. For example, a clean grey base textures that has texture replace via table or FRED is changed to red/brown. But when the ship is destroyed the debris objects are using the original lighter texture instead of the newer darker one. #6154 provided the groundwork to fix this, but one step fell through the cracks; setting the debris hull textures to what the parent ship used. This PR sets the debris texture replacements when debris is created to fix this (and fixes #2462). Fix is tested and works as expected. * cleanup setting shared * get pmi correctly