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 | 8ef7443e887958060d7a77b3750f495b592eb7b3 (patch) | |
tree | ae81e5061ff983b1e5cdcdfcb0af721741d947c5 | |
parent | b06b5ca24b7a48bfa0fba6ba0032262e4e52b569 (diff) |
Remove unused player_type::special field
-rw-r--r-- | src/birth.cc | 3 | ||||
-rw-r--r-- | src/loadsave.cc | 1 | ||||
-rw-r--r-- | src/player_type.hpp | 1 | ||||
-rw-r--r-- | src/variable.cc | 3 | ||||
-rw-r--r-- | src/variable.hpp | 1 |
5 files changed, 1 insertions, 8 deletions
diff --git a/src/birth.cc b/src/birth.cc index 27b7ee89..948d1c37 100644 --- a/src/birth.cc +++ b/src/birth.cc @@ -2139,9 +2139,8 @@ static bool_ player_birth_aux_ask() } } - /* Set birth options: maximize, preserve, sepcial levels and astral */ + /* Set birth options: preserve, astral */ p_ptr->preserve = preserve; - p_ptr->special = special_lvls; p_ptr->astral = (race_flags_p(PR_ASTRAL)) ? TRUE : FALSE; /* diff --git a/src/loadsave.cc b/src/loadsave.cc index f6a67093..20182298 100644 --- a/src/loadsave.cc +++ b/src/loadsave.cc @@ -793,7 +793,6 @@ static bool_ do_extra(ls_flag_t flag) do_bool(&fate_flag, flag); do_byte(&p_ptr->searching, flag); do_byte(&p_ptr->preserve, flag); - do_byte(&p_ptr->special, flag); do_bool(&ambush_flag, flag); do_byte(&p_ptr->allow_one_death, flag); diff --git a/src/player_type.hpp b/src/player_type.hpp index 684a086e..11eac14d 100644 --- a/src/player_type.hpp +++ b/src/player_type.hpp @@ -48,7 +48,6 @@ struct player_type u16b expfact = 0; /* Experience factor */ byte preserve = 0; /* Preserve artifacts */ - byte special = 0; /* Special levels */ byte allow_one_death = 0; /* Blood of life */ s32b au = 0; /* Current Gold */ diff --git a/src/variable.cc b/src/variable.cc index 4ac48b50..c40ac8ba 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -881,9 +881,6 @@ s16b doppleganger; /* To allow wilderness encounters */ bool_ generate_encounter; -/* Special levels */ -bool_ special_lvls; - /* * Such an ugly hack ... */ diff --git a/src/variable.hpp b/src/variable.hpp index 3cfc7c8c..459abef1 100644 --- a/src/variable.hpp +++ b/src/variable.hpp @@ -269,7 +269,6 @@ extern byte dungeon_type; extern s16b *max_dlv; extern s16b doppleganger; extern bool_ generate_encounter; -extern bool_ special_lvls; extern bool_ *m_allow_special; extern bool_ *k_allow_special; extern bool_ *a_allow_special; |