summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-26 22:27:24 -0400
committerNeil Moore <neil@s-z.org>2014-07-26 22:28:10 -0400
commit77b79c837636ff8c31a8d89070e15f4ea960873f (patch)
treecd049c90f33e40880879b66edcc893389e90989c /crawl-ref/source/ouch.cc
parentd71e18733b7ca9ff6682b197188c2e548014d647 (diff)
downloadcrawl-ref-77b79c837636ff8c31a8d89070e15f4ea960873f.tar.gz
crawl-ref-77b79c837636ff8c31a8d89070e15f4ea960873f.zip
Rename player::[hm]p_max_{perm,temp} (reaverb)
To reflect that they are adjustments, not actual mhp values. Also change one reference to use player_rotted instead.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 97a329e6cb..698030bbd7 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -792,7 +792,7 @@ static void _wizard_restore_life()
if (you.hp_max <= 0)
unrot_hp(9999);
while (you.hp_max <= 0)
- you.hp_max_perm++, calc_hp();
+ you.hp_max_adj_perm++, calc_hp();
if (you.hp <= 0)
set_hp(you.hp_max);
}