diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2026-01-04 23:00:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-04 23:00:28 -0600 |
| commit | ce0966e631622566aff2d577df7d0c0be572dd39 (patch) | |
| tree | e18eb38d1da9f087cb35205cdfd40a3f656f1deb /mm/2s2h/Rando/MiscBehavior | |
| parent | 4a4d46e356ac7d01188ee2406f0dd1468eb89971 (diff) | |
Add missing swim grant when not shuffled (#1436)
Diffstat (limited to 'mm/2s2h/Rando/MiscBehavior')
| -rw-r--r-- | mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp index 3cca006e7..63ad54f95 100644 --- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp +++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp @@ -28,6 +28,10 @@ void GrantStarters() { } } + if (RANDO_SAVE_OPTIONS[RO_SHUFFLE_SWIM] != RO_GENERIC_YES) { + startingItems.push_back(RI_ABILITY_SWIM); + } + for (RandoItemId startingItem : startingItems) { Rando::GiveItem(Rando::ConvertItem(startingItem)); } |
