Skip to content

Commit 16ee014

Browse files
authored
small patch to match 2ship (HarbourMasters#6197)
1 parent 077fda8 commit 16ee014

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

soh/soh/Enhancements/ItemUnequip.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ void RegisterItemUnequip() {
6565
shouldUnequip = true;
6666
} else if (cursorItem == ITEM_ARROW_LIGHT && equippedItem == ITEM_BOW_ARROW_LIGHT) {
6767
shouldUnequip = true;
68+
} else if (cursorItem == ITEM_BOW &&
69+
(equippedItem == ITEM_BOW_ARROW_FIRE || equippedItem == ITEM_BOW_ARROW_ICE ||
70+
equippedItem == ITEM_BOW_ARROW_LIGHT)) {
71+
shouldUnequip = true;
6872
}
6973

7074
if (shouldUnequip) {

soh/soh/SohGui/SohMenuEnhancements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ void SohMenu::AddMenuEnhancements() {
752752
.Options(CheckboxOptions().Tooltip(
753753
"Equip items and equipment on the D-pad. If used with \"D-pad on Pause Screen\", you must "
754754
"hold C-Up to equip instead of navigate."));
755-
AddWidget(path, "Unequip C-Items on Re-press", WIDGET_CVAR_CHECKBOX)
755+
AddWidget(path, "Allow unequipping Items", WIDGET_CVAR_CHECKBOX)
756756
.CVar(CVAR_ENHANCEMENT("ItemUnequip"))
757757
.Options(CheckboxOptions().Tooltip("Allows unequipping items from C-Buttons/D-pad by hovering over an equipped "
758758
"item and pressing the button it's equipped to."));

0 commit comments

Comments
 (0)