From daf23851092099647a3830aa1c0cf12962f55b8e Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Move 'player_*' shared fields to new 'player_shared' struct --- src/xtra2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xtra2.cc') diff --git a/src/xtra2.cc b/src/xtra2.cc index ce4c7de0..fe214950 100644 --- a/src/xtra2.cc +++ b/src/xtra2.cc @@ -5310,10 +5310,10 @@ void switch_subrace(int racem, bool_ copy_old) void do_rebirth() { /* Experience factor */ - p_ptr->expfact = rp_ptr->r_exp + rmp_ptr->r_exp + cp_ptr->c_exp; + p_ptr->expfact = rp_ptr->ps.exp + rmp_ptr->ps.exp + cp_ptr->ps.exp; /* Hitdice */ - p_ptr->hitdie = rp_ptr->r_mhp + rmp_ptr->r_mhp + cp_ptr->c_mhp; + p_ptr->hitdie = rp_ptr->ps.mhp + rmp_ptr->ps.mhp + cp_ptr->ps.mhp; /* Recalc HP */ do_cmd_rerate(); -- cgit v1.2.3