Skip to content

Prevent inlining of Player.RefillStamina#1106

Open
maddie480 wants to merge 1 commit intoEverestAPI:devfrom
maddie480:no-inlining-refillstamina
Open

Prevent inlining of Player.RefillStamina#1106
maddie480 wants to merge 1 commit intoEverestAPI:devfrom
maddie480:no-inlining-refillstamina

Conversation

@maddie480
Copy link
Copy Markdown
Member

On.Celeste.Player.RefillStamina seems to be a frequent enough use case... and with how the method is literally Stamina = 110f;, it's easily getting inlined and it's not automatically slapped with NoInlining. I ran into inlining issues with Extended Variants, and the force-no-inlining-at-runtime method didn't help.

@maddie480-bot maddie480-bot added the 1: review needed This PR needs 2 approvals to be merged (bot-managed) label Apr 7, 2026
Copy link
Copy Markdown
Member

@microlith57 microlith57 left a comment

Choose a reason for hiding this comment

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

:yay:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1: review needed This PR needs 2 approvals to be merged (bot-managed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants