summaryrefslogtreecommitdiff
path: root/src/cmd1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd1.cc')
-rw-r--r--src/cmd1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd1.cc b/src/cmd1.cc
index a5c882b9..96cb3826 100644
--- a/src/cmd1.cc
+++ b/src/cmd1.cc
@@ -2890,7 +2890,7 @@ bool_ player_can_enter(byte feature)
/* Player can not walk through "walls" unless in Shadow Form */
- if (p_ptr->wraith_form || (PRACE_FLAG(PR1_SEMI_WRAITH)))
+ if (p_ptr->wraith_form || (race_flags1_p(PR1_SEMI_WRAITH)))
pass_wall = TRUE;
else
pass_wall = FALSE;