summaryrefslogtreecommitdiff
path: root/src/bldg.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-22 07:42:43 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-22 07:42:43 +0200
commit3941b7834f0a038ed544e6ee96b9920d43db4c32 (patch)
tree4c0cb0d2a37105eb40b88608c9c9e18fc0d1dd5b /src/bldg.cc
parent3966bfb2f6836d13c1a93bfab1e9fa61ec4fff35 (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/bldg.cc')
-rw-r--r--src/bldg.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bldg.cc b/src/bldg.cc
index 4f1747db..34a4576c 100644
--- a/src/bldg.cc
+++ b/src/bldg.cc
@@ -25,6 +25,7 @@
#include "object2.hpp"
#include "object_flag.hpp"
#include "owner_type.hpp"
+#include "player_race_flag.hpp"
#include "player_type.hpp"
#include "q_library.hpp"
#include "q_fireprof.hpp"
@@ -542,7 +543,7 @@ static bool_ inn_comm(int cmd)
/* Extract race info */
- vampire = ((race_flags1_p(PR1_VAMPIRE)) || (p_ptr->mimic_form == resolve_mimic_name("Vampire")));
+ vampire = ((race_flags_p(PR_VAMPIRE)) || (p_ptr->mimic_form == resolve_mimic_name("Vampire")));
switch (cmd)
{