From f5d3cfb5e3a63c8af158be2d000da096806f8490 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 12 Feb 2023 23:12:36 +0300 Subject: [PATCH] Fix Fast Metabolism trait --- src/trait.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trait.cc b/src/trait.cc index 9beafea..c2b9872 100644 --- a/src/trait.cc +++ b/src/trait.cc @@ -265,12 +265,12 @@ int traitGetStatModifier(int stat) break; case STAT_RADIATION_RESISTANCE: if (traitIsSelected(TRAIT_FAST_METABOLISM)) { - modifier -= -critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE); + modifier -= critterGetBaseStat(gDude, STAT_RADIATION_RESISTANCE); } break; case STAT_POISON_RESISTANCE: if (traitIsSelected(TRAIT_FAST_METABOLISM)) { - modifier -= -critterGetBaseStat(gDude, STAT_POISON_RESISTANCE); + modifier -= critterGetBaseStat(gDude, STAT_POISON_RESISTANCE); } break; }