Skip to content

Fix: More swordless fixes when time traveling#3510

Merged
briaguya0 merged 1 commit intoHarbourMasters:develop-macreadyfrom
Archez:fix-more-swordless-flag-age-change
Dec 17, 2023
Merged

Fix: More swordless fixes when time traveling#3510
briaguya0 merged 1 commit intoHarbourMasters:develop-macreadyfrom
Archez:fix-more-swordless-flag-age-change

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Dec 11, 2023

Stick on B was occurring in MS shuffle when traveling as child -> adult for the second+ time while having a Kokiri sword equipped as child. The root cause is the swordless flag is unset for child and carries over to adult, causing stick on B. This PR adds a check for adult not having a sword equiped and to set the swordless flag again as adult.

Conversely, in this same situation, when switching back to child (swordless adult, to kokiri sword as child), the swordless flag was left on. This doesn't have any immediate impact from what I can see, but for correctness sake, this PR also adds a similar check to explicit remove the swordless flag as child.


This func is getting quite messy between regular rando, the change age cheats/enhancements, and now MS shuffle. Will most likely add this func to my list of things that can be cleaned up in develop.

Build Artifacts

@LuigiXHero
Copy link
Contributor

Maybe you can just put all the swordless fixes behind a new cvar and just set it when needed and include it in the fixes tab.

@briaguya0 briaguya0 merged commit 907b770 into HarbourMasters:develop-macready Dec 17, 2023
@Archez Archez deleted the fix-more-swordless-flag-age-change branch December 17, 2023 05:53
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.

3 participants