summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/birth.cc12
-rw-r--r--src/loadsave.cc6
-rw-r--r--src/types.h4
3 files changed, 4 insertions, 18 deletions
diff --git a/src/birth.cc b/src/birth.cc
index bcacb664..d27f1e69 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -189,9 +189,6 @@ static void save_prev_data(void)
}
previous_char.luck = p_ptr->luck_base;
- /* Save the weapon specialty */
- previous_char.weapon = 0;
-
/* Save the history */
for (i = 0; i < 4; i++)
{
@@ -226,9 +223,6 @@ static void load_prev_data(bool_ save)
}
temp.luck = p_ptr->luck_base;
- /* Save the weapon specialty */
- temp.weapon = 0;
-
/* Save the history */
for (i = 0; i < 4; i++)
{
@@ -278,12 +272,6 @@ static void load_prev_data(bool_ save)
}
previous_char.luck = temp.luck;
- /* Save the chaos patron */
- previous_char.chaos_patron = temp.chaos_patron;
-
- /* Save the weapon specialty */
- previous_char.weapon = temp.weapon;
-
/* Save the history */
for (i = 0; i < 4; i++)
{
diff --git a/src/loadsave.cc b/src/loadsave.cc
index 18cd28f5..17cca579 100644
--- a/src/loadsave.cc
+++ b/src/loadsave.cc
@@ -111,6 +111,8 @@ static void do_xtra(int k_idx, int flag)
*/
void do_quick_start(int flag)
{
+ s16b tmp16s;
+ u32b tmp32u;
int i;
do_s16b(&previous_char.sex, flag);
@@ -130,8 +132,8 @@ void do_quick_start(int flag)
for (i = 0; i < 6; i++) do_s16b(&(previous_char.stat[i]), flag);
do_s16b(&previous_char.luck, flag);
- do_s16b(&previous_char.chaos_patron, flag);
- do_u32b(&previous_char.weapon, flag);
+ do_s16b(&tmp16s, flag);
+ do_u32b(&tmp32u, flag);
do_byte((byte*)&previous_char.quick_ok, flag);
for (i = 0; i < 4; i++) do_string(previous_char.history[i], 60, flag);
diff --git a/src/types.h b/src/types.h
index 5ebf22e8..30bbdfd8 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2411,10 +2411,6 @@ struct birther
s16b stat[6];
s16b luck;
- s16b chaos_patron;
-
- u32b weapon;
-
char history[4][60];
bool_ quick_ok;