Skip to content

Commit

Permalink
Merge pull request #36234 from Fris0uman/defrost
Browse files Browse the repository at this point in the history
Fix defrost
  • Loading branch information
ZhilkinSerg authored Dec 18, 2019
2 parents a7caa2a + 23b8332 commit c3ae589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5513,7 +5513,7 @@ static bool heat_item( player &p )
{
auto loc = g->inv_map_splice( []( const item & itm ) {
const item *food = itm.get_food();
return food && food->item_tags.count( "HOT" );
return food && !food->item_tags.count( "HOT" );
}, _( "Heat up what?" ), 1, _( "You don't have appropriate food to heat up." ) );

item *heat = loc.get_item();
Expand Down

0 comments on commit c3ae589

Please sign in to comment.