Skip to content

Commit

Permalink
Merge pull request #73346 from nornagon/fix-disappearing-arrows
Browse files Browse the repository at this point in the history
fix disappearing arrows
  • Loading branch information
Maleclypse committed Apr 28, 2024
2 parents ed85b64 + 7ba1059 commit 9105f03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/character.cpp
Expand Up @@ -13011,7 +13011,8 @@ void Character::store( item &container, item &put, bool penalties, int base_cost
if( check_best_pkt && pk_type == pocket_type::CONTAINER &&
container.get_all_contained_pockets().size() > 1 ) {
// Bypass pocket settings (assuming the item is manually stored)
container.fill_with( i_rem( &put ), put.count_by_charges() ? put.charges : 1, false, false, true );
int charges = put.count_by_charges() ? put.charges : 1;
container.fill_with( i_rem( &put ), charges, false, false, true );
} else {
container.put_in( i_rem( &put ), pk_type );
}
Expand Down

0 comments on commit 9105f03

Please sign in to comment.