summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-01-03 11:46:46 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-01-04 11:24:10 +0100
commitec791c25e1159946ff3cf8af69767d80b77de212 (patch)
tree685fa4455dfcb2ff700fd9bd345d023ad057c643 /crawl-ref/source/ouch.h
parentf7bbc6d064c27170418b1f1e5372231f7e60a18c (diff)
downloadcrawl-ref-ec791c25e1159946ff3cf8af69767d80b77de212.tar.gz
crawl-ref-ec791c25e1159946ff3cf8af69767d80b77de212.zip
Allow checking adjusted damage without applying effects/giving messages.
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r--crawl-ref/source/ouch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h
index 02ea7d27fd..bedea375df 100644
--- a/crawl-ref/source/ouch.h
+++ b/crawl-ref/source/ouch.h
@@ -57,7 +57,7 @@ enum kill_method_type
};
int check_your_resists(int hurted, beam_type flavour, std::string source,
- bolt *beam = 0);
+ bolt *beam = 0, bool doEffects = true);
void splash_with_acid(int acid_strength, bool corrode_items = true,
std::string hurt_msg = "");
void weapon_acid(int acid_strength);