diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | daf23851092099647a3830aa1c0cf12962f55b8e (patch) | |
tree | 15e236b093913f2f7e686af82d883f7419ee9e37 /src/xtra2.cc | |
parent | cc857c940cfe1bfe8d78674dbce53e5b71acaf41 (diff) |
Move 'player_*' shared fields to new 'player_shared' struct
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r-- | src/xtra2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |