summaryrefslogtreecommitdiff
path: root/src/object2.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-21 11:02:48 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-22 08:49:05 +0200
commit6f02ef2e62739efc23d10ae2c7cea69a908b657b (patch)
tree6c77f556dc953b27ac7d97dfa656fe650d79a191 /src/object2.hpp
parent3941b7834f0a038ed544e6ee96b9920d43db4c32 (diff)
Rework ETR4_* flags to flag_set<>
Diffstat (limited to 'src/object2.hpp')
-rw-r--r--src/object2.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object2.hpp b/src/object2.hpp
index a8d0fab9..8a99753d 100644
--- a/src/object2.hpp
+++ b/src/object2.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "ego_flag_set.hpp"
#include "h-basic.h"
#include "object_type_fwd.hpp"
#include "obj_theme_fwd.hpp"
@@ -13,7 +14,7 @@ extern void inc_stack_size(int item, int delta);
extern void inc_stack_size_ex(int item, int delta, optimize_flag opt, describe_flag desc);
extern object_type *get_object(int item);
extern s32b calc_total_weight(void);
-extern void add_random_ego_flag(object_type *o_ptr, int fego, bool_ *limit_blows);
+extern void add_random_ego_flag(object_type *o_ptr, ego_flag_set const &fego, bool_ *limit_blows);
extern bool init_match_theme(obj_theme const &theme);
extern bool_ kind_is_artifactable(int k_idx);
extern bool_ kind_is_legal(int k_idx);