diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-04-05 04:57:05 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-04-05 04:59:36 +0200 |
commit | ba952bad7a0d290117d22be335895d436265bbcd (patch) | |
tree | ea3abd039674404a71fbc7a32d473ee05c49d7ff /crawl-ref/source/l_item.cc | |
parent | 1a39c6d6ef860388e62282e898d1b13becad59c8 (diff) | |
download | crawl-ref-ba952bad7a0d290117d22be335895d436265bbcd.tar.gz crawl-ref-ba952bad7a0d290117d22be335895d436265bbcd.zip |
#ifdef out potions of gain ability
Diffstat (limited to 'crawl-ref/source/l_item.cc')
-rw-r--r-- | crawl-ref/source/l_item.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/l_item.cc b/crawl-ref/source/l_item.cc index 806a17ddef..58c1b61d72 100644 --- a/crawl-ref/source/l_item.cc +++ b/crawl-ref/source/l_item.cc @@ -336,12 +336,14 @@ static int l_item_do_subtype(lua_State *ls) s = "porridge"; else if (item->sub_type == POT_BERSERK_RAGE) s = "berserk"; +#if TAG_MAJOR_VERSION == 34 else if (item->sub_type == POT_GAIN_STRENGTH || item->sub_type == POT_GAIN_DEXTERITY || item->sub_type == POT_GAIN_INTELLIGENCE) { s = "gain ability"; } +#endif else if (item->sub_type == POT_CURE_MUTATION) s = "cure mutation"; } |