summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index d6e119a473..4e81f130c7 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -1845,12 +1845,12 @@ static void _elixir_card(int power, deck_rarity_type rarity)
}
else if (power_level == 1)
{
- you.hp = you.hp_max;
+ set_hp(you.hp_max, false);
you.magic_points = 0;
}
else if (power_level >= 2)
{
- you.hp = you.hp_max;
+ set_hp(you.hp_max, false);
you.magic_points = you.max_magic_points;
}
you.redraw_hit_points = true;