summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 2d7d5b5348..589973fcd3 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -131,19 +131,13 @@ int check_your_resists(int hurted, beam_type flavour)
case BEAM_COLD:
hurted = resist_adjust_damage(&you, flavour,
- player_res_fire(), hurted, true);
- resist = player_res_cold();
+ player_res_cold(), hurted, true);
if (hurted < original)
- {
canned_msg(MSG_YOU_RESIST);
- hurted /= (1 + (resist * resist));
- }
else if (hurted > original)
{
mpr("You feel a terrible chill!");
xom_is_stimulated(200);
- hurted *= 15;
- hurted /= 10;
}
break;