Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retail-style warning fix #6356

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

Goober5000
Copy link
Contributor

The warning for mismatched names-and-indexes implicitly assumed that retail-style sounds would only be added with numeric indexes. Since adding named sounds in the retail style is, in fact, allowed, update the logic to not warn in that case.

Fixes #6354.

The warning for mismatched names-and-indexes implicitly assumed that retail-style sounds would only be added with numeric indexes.  Since adding named sounds in the retail style is, in fact, allowed, update the logic to not warn in that case.

Fixes scp-fs2open#6354.
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. sound A feature or issue specific to music and sound labels Sep 17, 2024
@Goober5000 Goober5000 added this to the Release 24.2 milestone Sep 17, 2024
Copy link
Member

@wookieejedi wookieejedi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in #6352, this works as expected in MediaVPs, retail, BtA, and FotG, Scroll, Inferno, BP, and Warmachine. Changes here look good to me.

@Goober5000 Goober5000 merged commit 461c628 into scp-fs2open:master Sep 18, 2024
16 checks passed
@Goober5000 Goober5000 deleted the retail_style_warning_fix branch September 18, 2024 02:27
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. sound A feature or issue specific to music and sound
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unwanted new warnings on retail sound syntax with non-int names
2 participants