Skip to content

Commit c7b9eef

Browse files
committed
Fixes a bug which causes CharacterEquipment::unequipItemInSlot not to work properly.
1 parent 3e6ad67 commit c7b9eef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/logic/CharacterEquipment.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ void CharacterEquipment::unequipItemInSlot(Slot slot)
112112
default: // Everything else can be taken off without visual changes
113113
break;
114114
}
115+
m_ItemsBySlot[(size_t)slot].invalidate();
115116
}
116117

117118
void CharacterEquipment::unequipItem(ItemHandle item)

0 commit comments

Comments
 (0)