summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.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/effects.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/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index b31ed17d89..063b1db69e 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2051,9 +2051,9 @@ int acquirement_create_item(object_class_type class_wanted,
continue;
}
- // Only TSO gifts blessed blades, and currently not through
+ // Only TSO gifts blessed weapons, and currently not through
// acquirement, but make sure of this anyway.
- if (agent != GOD_SHINING_ONE && is_blessed_blade(doodad))
+ if (agent != GOD_SHINING_ONE && is_blessed(doodad))
{
destroy_item(thing_created, true);
thing_created = NON_ITEM;