diff options
author | reaver <address.auto@gmail.com> | 2014-03-11 16:19:10 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-03-12 13:38:04 -0400 |
commit | b78b54b1c70040f340716dd8dd8e29df2f54f69e (patch) | |
tree | 65c89121025f9eb2f3e4aff67a5e8cdcfdd76dee /crawl-ref/source/itemname.h | |
parent | 13ef432e70872bc2159f175ba7b173b2f0af6cdb (diff) | |
download | crawl-ref-b78b54b1c70040f340716dd8dd8e29df2f54f69e.tar.gz crawl-ref-b78b54b1c70040f340716dd8dd8e29df2f54f69e.zip |
Use potion_type_name() to note Xom potion effects.
This formerly special cased it, which meant I had to change it when I
renamed potions of speed. This means future changes or additions to the
potions xom used do not have to modify this function.
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r-- | crawl-ref/source/itemname.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index 80a81b150c..bc51a0c379 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -134,4 +134,6 @@ string base_type_string(const item_def &item, bool known = true); string sub_type_string(const item_def &item, bool known = true); string ego_type_string(const item_def &item, bool terse = false); + +const char* potion_type_name(int potiontype); //used in xom.cc #endif |