summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
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/player.h
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/player.h')
-rw-r--r--crawl-ref/source/player.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 64bd592dff..f8e16075da 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -58,13 +58,13 @@ public:
int hp;
int hp_max;
- int hp_max_temp; // temporary max HP loss (rotting)
- int hp_max_perm; // base HPs from background (and permanent loss)
+ int hp_max_adj_temp; // temporary max HP loss (rotting)
+ int hp_max_adj_perm; // base HPs from background (and permanent loss)
int magic_points;
int max_magic_points;
- int mp_max_temp; // temporary max MP loss? (currently unused)
- int mp_max_perm; // base MPs from background (and permanent loss)
+ int mp_max_adj_temp; // temporary max MP loss? (currently unused)
+ int mp_max_adj_perm; // base MPs from background (and permanent loss)
FixedVector<int8_t, NUM_STATS> stat_loss;
FixedVector<int8_t, NUM_STATS> base_stats;