Skip to content

fix: m_bDrawPlayerLegs saved in base player datadesc - #377

Merged
1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
1upD:ez2/feature/fix-visible-legs-saveload
Nov 9, 2026
Merged

1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
1upD:ez2/feature/fix-visible-legs-saveload

Conversation

@1upD

@1upD 1upD commented Nov 5, 2026

Copy link
Copy Markdown

In the current 2.0 build with Mapbase 8, if the player turns on the setting for "Show Visible Legs", the player can look down and see a first person legs model. However, if you save the game and then load a save, the visible legs disappear regardless of the setting.

This bug is caused because the variable m_bDrawPlayerLegs is not saved in the player dataa description and so it resets to false when the game is loaded.

This PR fixes the bug by adding that variable to its class' data description.


Does this PR close any issues?

  • N/A (Not in GitHub Issues)

PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

@1upD
1upD requested a review from Blixibon November 5, 2026 07:07

@Blixibon Blixibon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'll have to open a PR for this on Mapbase as well 🥴 (if you don't get to it first)

@1upD

1upD commented Nov 5, 2026

Copy link
Copy Markdown
Author

I'll have to open a PR for this on Mapbase as well 🥴 (if you don't get to it first)

I think I can do that, no worries!

@1upD
1upD merged commit 6783bc1 into entropy-zero:ez2/mapbase Nov 9, 2026
5 checks passed
@1upD
1upD deleted the ez2/feature/fix-visible-legs-saveload branch November 9, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants