Skip to content

Commit

Permalink
Merge pull request #76879 from Night-Pryanik/unlimited-wear
Browse files Browse the repository at this point in the history
No longer able to wear already worn items
  • Loading branch information
Maleclypse authored Oct 12, 2024
2 parents 5b49e67 + 9f060f1 commit e177a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character_attire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Character::wear( int pos, bool interactive )
std::optional<std::list<item>::iterator>
Character::wear( item_location item_wear, bool interactive )
{
item to_wear = *item_wear;
item &to_wear = *item_wear;

// Need to account for case where we're trying to wear something that belongs to someone else
if( !avatar_action::check_stealing( *this, to_wear ) ) {
Expand Down

0 comments on commit e177a96

Please sign in to comment.