summaryrefslogtreecommitdiff
path: root/src/xtra1.hpp
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/xtra1.hpp
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/xtra1.hpp')
-rw-r--r--src/xtra1.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xtra1.hpp b/src/xtra1.hpp
index 3e434828..0c1b93bf 100644
--- a/src/xtra1.hpp
+++ b/src/xtra1.hpp
@@ -2,6 +2,7 @@
#include "h-basic.h"
#include "object_flag_set.hpp"
+#include "player_race_flag_set.hpp"
#include <string>
@@ -23,5 +24,4 @@ extern void calc_bonuses(bool_ silent);
extern void gain_fate(byte fate);
extern std::string fate_desc(int fate);
extern std::string dump_fates();
-extern bool race_flags1_p(u32b flags1_mask);
-extern bool race_flags2_p(u32b flags2_mask);
+extern bool race_flags_p(player_race_flag_set const &flags_mask);