From f7e349349f5afd69c2c65dccd2024922ad029e19 Mon Sep 17 00:00:00 2001 From: Ramza13 <52087122+Ramza13@users.noreply.github.com> Date: Fri, 3 Jan 2020 18:07:56 -0500 Subject: [PATCH] NPC's cant read while blind --- src/avatar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/avatar.cpp b/src/avatar.cpp index 8079cf678c855..f81ab0fe29b2b 100644 --- a/src/avatar.cpp +++ b/src/avatar.cpp @@ -323,6 +323,8 @@ const player *avatar::get_book_reader( const item &book, std::vectordisp_name( true ) ) ); + } else if( elem->is_blind() ) { + reasons.push_back( string_format( _( "% is blind." ), elem->disp_name( true ) ) ); } else { int proj_time = time_to_read( book, *elem ); if( proj_time < time_taken ) {