From 4779f938bdb363aec3f59791fae8ff818f443fc2 Mon Sep 17 00:00:00 2001 From: Derik Baumgartner Date: Tue, 14 Jan 2020 09:08:13 -0600 Subject: [PATCH] Fix using drugs --- src/player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/player.cpp b/src/player.cpp index 1172675e6e853..2c1c0335776b1 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -4823,10 +4823,10 @@ void player::use( item_location loc ) used.type->can_use( "CATTLEFODDER" ) ) { invoke_item( &used, loc.position() ); - } else if( !used.is_craft() && !used.type->has_use() && ( used.is_food() || - used.is_medication() || - used.get_contained().is_food() || - used.get_contained().is_medication() ) ) { + } else if( !used.is_craft() && ( used.is_medication() || ( !used.type->has_use() && + ( used.is_food() || + used.get_contained().is_food() || + used.get_contained().is_medication() ) ) ) ) { consume( loc ); } else if( used.is_book() ) {