Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-10-08 20:19:50 +0000
committerStijn Buys <ingar@osirion.org>2012-10-08 20:19:50 +0000
commit90be07acb8d2a2c481761ef754d938559510ae0f (patch)
tree66fb813990e367b92daacd19c580da091c608d61 /src/core
parentb5d824f36191e7ddc1c04afa0778347e1b02073e (diff)
Renamed Item::flag_is_set() to Item::has_flag().
Diffstat (limited to 'src/core')
-rw-r--r--src/core/item.h4
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 ----------------------------------------------- */