summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:45:44 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:45:44 +1000
commitf80d6f4e45cbee76a1184268a5e10fcde7ba6c52 (patch)
tree9a27eef81e2e94655cd23ecaa8e270cb99e5510c /crawl-ref/source/it_use2.cc
parent576ccd691ef3a7e3a779845cc52d6d223f819dd8 (diff)
downloadcrawl-ref-f80d6f4e45cbee76a1184268a5e10fcde7ba6c52.tar.gz
crawl-ref-f80d6f4e45cbee76a1184268a5e10fcde7ba6c52.zip
Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index b8cee7b101..bbe84c93e7 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -304,7 +304,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known)
// And also cancel backlight (for whatever good that will
// do).
- you.duration[DUR_BACKLIGHT] = 0;
+ you.duration[DUR_CORONA] = 0;
return (true);
}
@@ -324,7 +324,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known)
}
// Invisibility cancels backlight.
- you.duration[DUR_BACKLIGHT] = 0;
+ you.duration[DUR_CORONA] = 0;
// Now multiple invisiblity casts aren't as good. -- bwr
if (!you.duration[DUR_INVIS])