Skip to content

fix briefing lines when deleting an icon#7556

Open
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/briefing_lines
Open

fix briefing lines when deleting an icon#7556
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/briefing_lines

Conversation

@Goober5000

Copy link
Copy Markdown
Contributor

When an icon is deleted, remove any lines that reference it, and fix the indexes of lines that reference the icons shifted down to fill the gap. Previously stale lines silently reattached to the wrong icons. This matches the behavior of qtFRED's deleteCurrentIcon.

When an icon is deleted, remove any lines that reference it, and fix the
indexes of lines that reference the icons shifted down to fill the gap.
Previously stale lines silently reattached to the wrong icons.  This
matches the behavior of qtFRED's deleteCurrentIcon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. fred A feature or issue related to the FReespace EDitor (FRED) labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. fred A feature or issue related to the FReespace EDitor (FRED)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants