summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-09-07 05:10:00 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-09-07 11:12:20 +0200
commitbc49bdd7d572f1db738510e46a674c614f125493 (patch)
tree5b448b39ac355e856cd9044f5a7a325a09a1e30d /crawl-ref/source/quiver.cc
parent0d68f5dc11806ff8ac0f465ad496617daa4b802a (diff)
downloadcrawl-ref-bc49bdd7d572f1db738510e46a674c614f125493.tar.gz
crawl-ref-bc49bdd7d572f1db738510e46a674c614f125493.zip
Stale pies are inedible.
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index a2e140f30a..6fabf874cf 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -560,8 +560,10 @@ static bool _item_matches(const item_def &item, fire_type types,
return true;
if ((types & FIRE_NET) && item.sub_type == MI_THROWING_NET)
return true;
+#if TAG_MAJOR_VERSION == 34
if ((types & FIRE_PIE) && item.sub_type == MI_PIE)
return true;
+#endif
if (types & FIRE_LAUNCHER)
{