summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-setup.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/ng-setup.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/ng-setup.cc')
-rw-r--r--crawl-ref/source/ng-setup.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ng-setup.cc b/crawl-ref/source/ng-setup.cc
index 8ef0b16b69..929769fe28 100644
--- a/crawl-ref/source/ng-setup.cc
+++ b/crawl-ref/source/ng-setup.cc
@@ -176,8 +176,8 @@ static void _jobs_stat_init(job_type which_job)
you.base_stats[STAT_INT] += i;
you.base_stats[STAT_DEX] += d;
- you.hp_max_perm = 0;
- you.mp_max_perm = 0;
+ you.hp_max_adj_perm = 0;
+ you.mp_max_adj_perm = 0;
}
// Make sure no stats are unacceptably low
@@ -1066,7 +1066,7 @@ static void _setup_tutorial_miscs()
you.gold = 0;
// Give him some mana to play around with.
- you.mp_max_perm += 2;
+ you.mp_max_adj_perm += 2;
_newgame_make_item_tutorial(0, EQ_BODY_ARMOUR, OBJ_ARMOUR, ARM_ROBE);