Skip to content

Commit

Permalink
Fix astyle regression in crafting.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed Oct 5, 2017
1 parent 46f14cf commit 31511b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/crafting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1314,9 +1314,11 @@ void player::complete_disassemble( int item_pos, const tripoint &loc,
// @todo: make this depend on intelligence
if( one_in( 4 ) ) {
learn_recipe( &recipe_dict[ dis.ident() ] );
add_msg( m_good, _( "You learned a recipe for %s from disassembling it!" ), dis_item.tname().c_str() );
add_msg( m_good, _( "You learned a recipe for %s from disassembling it!" ),
dis_item.tname().c_str() );
} else {
add_msg( m_info, _( "You might be able to learn a recipe for %s if you disassemble another." ), dis_item.tname().c_str() );
add_msg( m_info, _( "You might be able to learn a recipe for %s if you disassemble another." ),
dis_item.tname().c_str() );
}
} else {
add_msg( m_info, _( "If you had better skills, you might learn a recipe next time." ) );
Expand Down

0 comments on commit 31511b1

Please sign in to comment.