summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 12:46:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 12:46:50 +0000
commitc4f7e626b7e1267e6540ed9d6057f7fe34b61c58 (patch)
tree99e4039e9cdfd1accb1e85d4c56b7e15f92297b5 /crawl-ref/source/xom.cc
parentf792800793a058d6668908b80b63b16d48ae50ed (diff)
downloadcrawl-ref-c4f7e626b7e1267e6540ed9d6057f7fe34b61c58.tar.gz
crawl-ref-c4f7e626b7e1267e6540ed9d6057f7fe34b61c58.zip
Backport my previous commit (Zot remaining open once entered) to 0.5.
Also replace the (unused) branch entry tile with the new Zot entry tile. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10304 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 3f5b777fb2..ee26016165 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -3065,8 +3065,7 @@ static void _xom_check_less_runes(int runes_gone)
int runes_avail = you.attribute[ATTR_UNIQUE_RUNES]
+ you.attribute[ATTR_DEMONIC_RUNES]
- + you.attribute[ATTR_ABYSSAL_RUNES]
- - you.attribute[ATTR_RUNES_IN_ZOT];
+ + you.attribute[ATTR_ABYSSAL_RUNES];
int was_avail = runes_avail + runes_gone;
// No longer enough available runes to get into Zot.