summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index ba0e2271a7..5d316159bb 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4262,7 +4262,7 @@ static bool _scroll_modify_item(item_def scroll)
return (false);
}
-static void _antimagic_scroll()
+static void _vulnerability_scroll()
{
// First cast antimagic on yourself.
antimagic();
@@ -4657,8 +4657,8 @@ void read_scroll(int slot)
break;
}
- case SCR_ANTIMAGIC:
- _antimagic_scroll();
+ case SCR_VULNERABILITY:
+ _vulnerability_scroll();
break;
default: