summaryrefslogtreecommitdiff
path: root/src/birth.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-06-29 06:18:05 +0200
committerBardur Arantsson <bardur@scientician.net>2013-06-29 06:39:27 +0200
commit966ae460fcde74c5e33782c829b732c9bd4c2821 (patch)
treed47c044e7c90e34c684019e052c7b4a4bff7760d /src/birth.c
parent10c35c2542895ff7064208614c0a67e14d146df9 (diff)
Remove unused chaos patron code
Diffstat (limited to 'src/birth.c')
-rw-r--r--src/birth.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/birth.c b/src/birth.c
index 1751a14c..b219a1a0 100644
--- a/src/birth.c
+++ b/src/birth.c
@@ -185,9 +185,6 @@ static void save_prev_data(void)
}
previous_char.luck = p_ptr->luck_base;
- /* Save the chaos patron */
- previous_char.chaos_patron = p_ptr->chaos_patron;
-
/* Save the weapon specialty */
previous_char.weapon = 0;
@@ -225,9 +222,6 @@ static void load_prev_data(bool_ save)
}
temp.luck = p_ptr->luck_base;
- /* Save the chaos patron */
- temp.chaos_patron = p_ptr->chaos_patron;
-
/* Save the weapon specialty */
temp.weapon = 0;
@@ -256,9 +250,6 @@ static void load_prev_data(bool_ save)
p_ptr->luck_base = previous_char.luck;
p_ptr->luck_max = previous_char.luck;
- /* Load the chaos patron */
- p_ptr->chaos_patron = previous_char.chaos_patron;
-
/* Load the history */
for (i = 0; i < 4; i++)
{
@@ -2673,9 +2664,6 @@ static bool_ player_birth_aux_point(void)
/*** Generate ***/
process_hooks(HOOK_BIRTH, "()");
- /* Hack -- get a chaos patron even if you are not a chaos warrior */
- p_ptr->chaos_patron = (randint(MAX_PATRON)) - 1;
-
/* Get luck */
p_ptr->luck_base = rp_ptr->luck + rmp_ptr->luck + rand_range( -5, 5);
p_ptr->luck_max = p_ptr->luck_base;
@@ -3055,9 +3043,6 @@ static bool_ player_birth_aux_auto()
/*** Generate ***/
process_hooks(HOOK_BIRTH, "()");
- /* Hack -- get a chaos patron even if you are not a chaos warrior */
- p_ptr->chaos_patron = (randint(MAX_PATRON)) - 1;
-
/* Input loop */
while (TRUE)
{