diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
commit | ca352fcaf16405a6edf348cca431ea173511af3f (patch) | |
tree | b2253f8f5dff38e90b3243bd1546ff1fd0c12d49 /src/birth.cc | |
parent | d192b228ed08575b7247afc3a3a880550a66637f (diff) |
Replace PRACE_FLAG{,2} macros with functions
Diffstat (limited to 'src/birth.cc')
-rw-r--r-- | src/birth.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/birth.cc b/src/birth.cc index b6470e59..4a822a61 100644 --- a/src/birth.cc +++ b/src/birth.cc @@ -2158,7 +2158,7 @@ static bool_ player_birth_aux_ask() p_ptr->pgod = k; set_grace(previous_char.grace); } - else if (PRACE_FLAG(PR1_NO_GOD)) + else if (race_flags1_p(PR1_NO_GOD)) { p_ptr->pgod = GOD_NONE; } @@ -2265,7 +2265,7 @@ static bool_ player_birth_aux_ask() } /* A god that like us ? more grace ! */ - if (PRACE_FLAGS(PR1_GOD_FRIEND)) + if (race_flags1_p(PR1_GOD_FRIEND)) { set_grace(200); } @@ -2295,7 +2295,7 @@ static bool_ player_birth_aux_ask() /* Set birth options: maximize, preserve, sepcial levels and astral */ p_ptr->preserve = preserve; p_ptr->special = special_lvls; - p_ptr->astral = (PRACE_FLAG2(PR2_ASTRAL)) ? TRUE : FALSE; + p_ptr->astral = (race_flags2_p(PR2_ASTRAL)) ? TRUE : FALSE; /* * A note by pelpel. (remove this please) |