Fix Fast Metabolism trait

This commit is contained in:
Alexander Batalov 2023-02-12 23:12:36 +03:00
parent 81210f46af
commit f5d3cfb5e3
1 changed files with 2 additions and 2 deletions

View File

@ -265,12 +265,12 @@ int traitGetStatModifier(int stat)
break; break;
case STAT_RADIATION_RESISTANCE: case STAT_RADIATION_RESISTANCE:
if (traitIsSelected(TRAIT_FAST_METABOLISM)) { if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
modifier -= -critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE); modifier -= critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE);
} }
break; break;
case STAT_POISON_RESISTANCE: case STAT_POISON_RESISTANCE:
if (traitIsSelected(TRAIT_FAST_METABOLISM)) { if (traitIsSelected(TRAIT_FAST_METABOLISM)) {
modifier -= -critterGetBaseStat(gDude, STAT_POISON_RESISTANCE); modifier -= critterGetBaseStat(gDude, STAT_POISON_RESISTANCE);
} }
break; break;
} }