mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 02:01:29 -10:00
If a ship was getting shot with weapons that used decals, the decal code would hit an assertation, because the invalid decals were not being all removed. This PR updates the decal cleanup loop, to ensure that no decals are missed and all invalid ones are removed. Tests confirm this fixes the issue. Also cleaned up some comments and moved another assertation before setting of variables.