Skip to content

Commit

Permalink
Use correct grammar for healing messages
Browse files Browse the repository at this point in the history
Fixes #39675
  • Loading branch information
wapcaplet authored and kevingranade committed Apr 19, 2020
1 parent 8aa6ea1 commit 75cf69a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4404,28 +4404,28 @@ void Character::regen( int rate_multiplier )
if( damage_bandaged[i] <= 0 ) {
damage_bandaged[i] = 0;
remove_effect( effect_bandaged, bp );
add_msg_if_player( _( "Bandaged wounds on your %s was healed." ), body_part_name( bp ) );
add_msg_if_player( _( "Bandaged wounds on your %s healed." ), body_part_name( bp ) );
}
}
if( damage_disinfected[i] > 0 ) {
damage_disinfected[i] -= healing_apply;
if( damage_disinfected[i] <= 0 ) {
damage_disinfected[i] = 0;
remove_effect( effect_disinfected, bp );
add_msg_if_player( _( "Disinfected wounds on your %s was healed." ), body_part_name( bp ) );
add_msg_if_player( _( "Disinfected wounds on your %s healed." ), body_part_name( bp ) );
}
}

// remove effects if the limb was healed by other way
if( has_effect( effect_bandaged, bp ) && ( hp_cur[i] == hp_max[i] ) ) {
damage_bandaged[i] = 0;
remove_effect( effect_bandaged, bp );
add_msg_if_player( _( "Bandaged wounds on your %s was healed." ), body_part_name( bp ) );
add_msg_if_player( _( "Bandaged wounds on your %s healed." ), body_part_name( bp ) );
}
if( has_effect( effect_disinfected, bp ) && ( hp_cur[i] == hp_max[i] ) ) {
damage_disinfected[i] = 0;
remove_effect( effect_disinfected, bp );
add_msg_if_player( _( "Disinfected wounds on your %s was healed." ), body_part_name( bp ) );
add_msg_if_player( _( "Disinfected wounds on your %s healed." ), body_part_name( bp ) );
}
}

Expand Down

0 comments on commit 75cf69a

Please sign in to comment.