Skip to content

Commit

Permalink
Update character.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan1ss1mo authored Mar 8, 2023
1 parent fb28325 commit 07827cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10963,7 +10963,7 @@ void Character::mod_pain( int npain )
{
if( npain > 0 ) {
double mult = enchantment_cache->get_value_multiply( enchant_vals::mod::PAIN );
if( has_flag( json_flag_PAIN_IMMUNE ) || has_effect( effect_narcosis ) || ) {
if( has_flag( json_flag_PAIN_IMMUNE ) || has_effect( effect_narcosis ) ) {
return;
}
// if there is a positive multiplier we always want to add at least 1 pain
Expand Down

0 comments on commit 07827cf

Please sign in to comment.