summaryrefslogtreecommitdiff
path: root/src/birth.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit7bf0a5a464c417cbe6d746a0deabd9538d66d4b1 (patch)
tree770fe3d81861d8555c3503d2fe561bdceca1d0e8 /src/birth.cc
parent8ef7443e887958060d7a77b3750f495b592eb7b3 (diff)
Remove player_type::preserve field
It redundantly duplicates the value of the 'preserve' option, and since the options are saved along with the character we don't actually need it.
Diffstat (limited to 'src/birth.cc')
-rw-r--r--src/birth.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/birth.cc b/src/birth.cc
index 948d1c37..e581d8f0 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -2139,8 +2139,7 @@ static bool_ player_birth_aux_ask()
}
}
- /* Set birth options: preserve, astral */
- p_ptr->preserve = preserve;
+ /* Is the player an "astral" being? */
p_ptr->astral = (race_flags_p(PR_ASTRAL)) ? TRUE : FALSE;
/*