summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-you.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-26 01:38:35 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-26 01:38:35 +0100
commit1c6fbd31a13a5c3bb8ef2b08bd2851d77f1ea598 (patch)
tree241bf5da60e802bb6fa29b6a069cf0dc5b1abe48 /crawl-ref/source/wiz-you.cc
parent43719e94ae7cfb7d5bf0dc8852402124f0ad1333 (diff)
downloadcrawl-ref-1c6fbd31a13a5c3bb8ef2b08bd2851d77f1ea598.tar.gz
crawl-ref-1c6fbd31a13a5c3bb8ef2b08bd2851d77f1ea598.zip
Make wizard heal clear the misled effect.
Diffstat (limited to 'crawl-ref/source/wiz-you.cc')
-rw-r--r--crawl-ref/source/wiz-you.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-you.cc b/crawl-ref/source/wiz-you.cc
index 48fdeddba8..cf570e928f 100644
--- a/crawl-ref/source/wiz-you.cc
+++ b/crawl-ref/source/wiz-you.cc
@@ -210,7 +210,8 @@ void wizard_heal(bool super_heal)
// Clear most status ailments.
you.rotting = 0;
you.disease = 0;
- you.duration[DUR_CONF] = 0;
+ you.duration[DUR_CONF] = 0;
+ you.duration[DUR_MISLED] = 0;
you.duration[DUR_POISONING] = 0;
set_hp(you.hp_max, false);
set_mp(you.max_magic_points, false);