summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-29 00:48:38 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-29 01:07:36 +0100
commitec5babf52457f197efca55ab2292050a270e34f9 (patch)
tree5f70061d5f564355fe3ce7a6abaa3c0ee3526543 /crawl-ref/source/ouch.h
parentc433d949e7be797fb8662d2efa3ec73c12c6469a (diff)
downloadcrawl-ref-ec5babf52457f197efca55ab2292050a270e34f9.tar.gz
crawl-ref-ec5babf52457f197efca55ab2292050a270e34f9.zip
Restrict mpr() to literals only.
The translation project is stalled, but this makes all of such static strings trivially gatherable without any extra work.
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 5752157ce5..8a75958667 100644
--- a/crawl-ref/source/ouch.h
+++ b/crawl-ref/source/ouch.h
@@ -65,7 +65,7 @@ enum kill_method_type
int check_your_resists(int hurted, beam_type flavour, string source,
bolt *beam = 0, bool doEffects = true);
void splash_with_acid(int acid_strength, int death_source,
- bool corrode_items = true, string hurt_msg = "");
+ bool corrode_items = true, const char* hurt_msg = nullptr);
class actor;
int actor_to_death_source(const actor* agent);