Skip to content

Commit

Permalink
Fixes a bug which causes CharacterEquipment::unequipItemInSlot not to…
Browse files Browse the repository at this point in the history
… work properly.
  • Loading branch information
aaeberharter committed Jul 15, 2018
1 parent 3e6ad67 commit c7b9eef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/logic/CharacterEquipment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ void CharacterEquipment::unequipItemInSlot(Slot slot)
default: // Everything else can be taken off without visual changes
break;
}
m_ItemsBySlot[(size_t)slot].invalidate();
}

void CharacterEquipment::unequipItem(ItemHandle item)
Expand Down

0 comments on commit c7b9eef

Please sign in to comment.