summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 22:16:37 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 22:16:37 -0600
commitcbf5fe7b39f4ae734ba7b596b8a1c17264f797ea (patch)
tree17c93ff67a01bcd68821b71cec081e3a2ced1d37 /crawl-ref/source/xom.cc
parent8e6f0b9972661f6e73e809b55274c0cd4e40528b (diff)
downloadcrawl-ref-cbf5fe7b39f4ae734ba7b596b8a1c17264f797ea.tar.gz
crawl-ref-cbf5fe7b39f4ae734ba7b596b8a1c17264f797ea.zip
Properly mark blessed whips as TSO gifts (Scourges instead of Blades).
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index b79f99207f..c0d5df800d 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -892,8 +892,8 @@ static bool _is_chaos_upgradeable(const item_def &item,
if (item.flags & ISFLAG_SUMMONED)
return (false);
- // Blessed blades are protected, being gifts from good gods.
- if (is_blessed_blade(item))
+ // Blessed weapons are protected, being gifts from good gods.
+ if (is_blessed(item))
return (false);
// God gifts from good gods are protected. Also, Beogh hates all