Skip to content

Fix 'show-ship` not working#6860

Merged
BMagnu merged 1 commit into
scp-fs2open:masterfrom
wookieejedi:fix-show-ship-cockpit
Jul 24, 2025
Merged

Fix 'show-ship` not working#6860
BMagnu merged 1 commit into
scp-fs2open:masterfrom
wookieejedi:fix-show-ship-cockpit

Conversation

@wookieejedi

Copy link
Copy Markdown
Member

Small one-line fix that follows up #6849. That PR removed the !(Viewer_mode & VM_EXTERNAL)) check within a section of ship_render_player_ship to optimize insignia rendering, but turns out that check is needed to ensure show-ship properly works. This PR restores that check to fix this bug, and ideally the thoughts about slightly optimizing insignias can be considered later.

Tested and works as expected.

Small one-line fix that follows up scp-fs2open#6849. That PR removed the `!(Viewer_mode & VM_EXTERNAL))` check within a section of `ship_render_player_ship` to optimize insignia rendering, but turns out that check is needed to ensure `show-ship` properly works. This PR restores that check to fix this bug, and ideally the thoughts about slightly optimizing insignias can be considered later.

Tested and works as expected.
@wookieejedi wookieejedi added the fix A fix for bugs, not-a-bugs, and/or regressions. label Jul 24, 2025
@wookieejedi wookieejedi added this to the Release 25.0 milestone Jul 24, 2025
@BMagnu BMagnu merged commit f76bf1b into scp-fs2open:master Jul 24, 2025
20 checks passed
@wookieejedi wookieejedi deleted the fix-show-ship-cockpit branch July 24, 2025 14:43
Kestrellius pushed a commit to Kestrellius/fs2open.github.com that referenced this pull request Jul 26, 2025
Small one-line fix that follows up scp-fs2open#6849. That PR removed the `!(Viewer_mode & VM_EXTERNAL))` check within a section of `ship_render_player_ship` to optimize insignia rendering, but turns out that check is needed to ensure `show-ship` properly works. This PR restores that check to fix this bug, and ideally the thoughts about slightly optimizing insignias can be considered later.

Tested and works as expected.
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants