Skip to content

Commit

Permalink
Merge pull request CleverRaven#27703 from nsklaus/pickup_highlight
Browse files Browse the repository at this point in the history
fix color of currently highlighted item in pickup window
  • Loading branch information
ZhilkinSerg authored Jan 18, 2019
2 parents e4770dc + ba37fc7 commit e725e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pickup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ void Pickup::pick_up( const tripoint &p, int min )
item &this_item = stacked_here[ true_it ].begin()->_item;
nc_color icolor = this_item.color_in_inventory();
if( cur_it == selected ) {
icolor = hilite( icolor );
icolor = hilite( c_white );
}

if( cur_it < static_cast<int>( pickup_chars.size() ) ) {
Expand Down

0 comments on commit e725e4f

Please sign in to comment.