diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-05-26 14:45:53 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-05-26 14:45:53 +0200 |
commit | df449e0d30f1bce71303e53e0c083e0d1fd66f88 (patch) | |
tree | 2f1d54988e25811203179167e416c73a048cb6b5 /crawl-ref/source/artefact.h | |
parent | a92b7b9093e5f789a6c0309a24afb702e1d514be (diff) | |
download | crawl-ref-df449e0d30f1bce71303e53e0c083e0d1fd66f88.tar.gz crawl-ref-df449e0d30f1bce71303e53e0c083e0d1fd66f88.zip |
s/artefact_name()/make_artefact_name()/ to reduce confusion.
There are several functions with similar names, it's hard to tell this one
generates a new one rather than querying the current.
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r-- | crawl-ref/source/artefact.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h index 0702651dc1..fac1f11c71 100644 --- a/crawl-ref/source/artefact.h +++ b/crawl-ref/source/artefact.h @@ -102,7 +102,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 make_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); |