diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 07:42:43 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 07:42:43 +0200 |
commit | 3941b7834f0a038ed544e6ee96b9920d43db4c32 (patch) | |
tree | 4c0cb0d2a37105eb40b88608c9c9e18fc0d1dd5b /src/cmd1.cc | |
parent | 3966bfb2f6836d13c1a93bfab1e9fa61ec4fff35 (diff) |
Rework PR{1,2}_* flags to flag_set<>
Since there's no need for two tiers we also reduce the flag set
to 1 tier. (Breaks savefile compatbility.)
Diffstat (limited to 'src/cmd1.cc')
-rw-r--r-- | src/cmd1.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd1.cc b/src/cmd1.cc index 55b1954e..ab3f29d9 100644 --- a/src/cmd1.cc +++ b/src/cmd1.cc @@ -33,6 +33,7 @@ #include "object1.hpp" #include "object2.hpp" #include "options.hpp" +#include "player_race_flag.hpp" #include "player_type.hpp" #include "quark.hpp" #include "skills.hpp" @@ -2560,7 +2561,7 @@ bool_ player_can_enter(byte feature) /* Player can not walk through "walls" unless in Shadow Form */ - if (p_ptr->wraith_form || (race_flags1_p(PR1_SEMI_WRAITH))) + if (p_ptr->wraith_form || (race_flags_p(PR_SEMI_WRAITH))) pass_wall = TRUE; else pass_wall = FALSE; |