summaryrefslogtreecommitdiff
path: root/src/loadsave.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/loadsave.cc')
-rw-r--r--src/loadsave.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loadsave.cc b/src/loadsave.cc
index 22708203..bbcc8784 100644
--- a/src/loadsave.cc
+++ b/src/loadsave.cc
@@ -2409,6 +2409,8 @@ static bool do_floor_inscriptions(ls_flag_t flag)
static bool do_player_hd(ls_flag_t flag)
{
+ auto &player_hp = game->player_hp;
+
u16b max_level = PY_MAX_LEVEL;
do_u16b(&max_level, flag);