Skip to content

Commit

Permalink
Update player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT committed Apr 5, 2020
1 parent 18d1d74 commit 141f84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4704,7 +4704,7 @@ bool player::wield_contents( item &container, item *internal_item, bool penaltie
if( pos < 0 ) {
return false;
}
internal_item = &*std::next( container.contents.begin(), pos );
internal_item = *std::next( container_contents.begin(), pos );
} else {
internal_item = &container.contents.front();
}
Expand Down

0 comments on commit 141f84f

Please sign in to comment.