diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/item.h b/src/core/item.h index ac3188d..98d5813 100644 --- a/src/core/item.h +++ b/src/core/item.h @@ -55,8 +55,8 @@ public: } /// returns true of a flag is set - inline const bool flag_is_set(const Flags flag) const { - return ((item_flags & (unsigned int)flag) == (unsigned int)flag); + inline const bool has_flag(const Flags flag) const { + return ((item_flags & (unsigned int) flag) == (unsigned int) flag); } /* ---- mutators ----------------------------------------------- */ |