diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-03-21 17:59:09 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-03-21 17:59:09 +0100 |
commit | b4b87243ef2816256ef19d203323219f825ad232 (patch) | |
tree | 2755b85a6f8cd83110eda3eba466986b420a1aed /crawl-ref/source/artefact.h | |
parent | 3e5ff7a7dd9f9d3c26dda0aa332873a340c98877 (diff) | |
download | crawl-ref-b4b87243ef2816256ef19d203323219f825ad232.tar.gz crawl-ref-b4b87243ef2816256ef19d203323219f825ad232.zip |
Fix placeholders in Xom's book gift names.
It might be better to process these in other messages, but I'm currently
afraid of possibly tainted strings (weird player names, etc) so for now
I tried to go the safest but least general way.
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r-- | crawl-ref/source/artefact.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h index 22e06bba7e..4458126353 100644 --- a/crawl-ref/source/artefact.h +++ b/crawl-ref/source/artefact.h @@ -105,6 +105,7 @@ std::string get_artefact_name(const item_def &item, bool force_known = false); void set_artefact_name(item_def &item, const std::string &name); std::string artefact_name(const item_def &item, bool appearance = false); +std::string replace_name_parts(const std::string name_in, const item_def& item); const char *unrandart_descrip(int which_descrip, const item_def &item); |