summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-06 15:43:23 +0100
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:32 -0600
commit89b5cdbbd12c7480b770b9802e9766d322ca5d63 (patch)
tree6e502b1a9abfaed24db3f1364add8fa1a9a0d075 /crawl-ref/source/godprayer.cc
parent7a33ce8bb75d4deb67bc67c6f7506c989a265a31 (diff)
downloadcrawl-ref-89b5cdbbd12c7480b770b9802e9766d322ca5d63.tar.gz
crawl-ref-89b5cdbbd12c7480b770b9802e9766d322ca5d63.zip
Don't allow duplicating the orb of Zot or runes
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r--crawl-ref/source/godprayer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index 1a57507e66..af25e805ac 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -276,7 +276,7 @@ static bool _altar_prayer()
bool prompted = false;
for (stack_iterator j(you.pos()); j; ++j)
{
- if (is_artefact(*j))
+ if (is_artefact(*j) || item_is_orb(*j) || item_is_rune(*j))
continue;
prompted = true;