mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-08 00:55:53 -05:00
fix some fake/non/weird matches by static inlines
This commit is contained in:
@@ -98,4 +98,19 @@ static inline void ZeroOutItem(Item *item)
|
||||
item->flags = 0;
|
||||
}
|
||||
|
||||
static inline bool8 ItemSticky(Item *item)
|
||||
{
|
||||
return (item->flags & ITEM_FLAG_STICKY);
|
||||
}
|
||||
|
||||
static inline bool8 ItemExists(Item *item)
|
||||
{
|
||||
return (item->flags & ITEM_FLAG_EXISTS);
|
||||
}
|
||||
|
||||
static inline bool8 ItemInShop(Item *item)
|
||||
{
|
||||
return (item->flags & ITEM_FLAG_IN_SHOP);
|
||||
}
|
||||
|
||||
#endif // GUARD_ITEMS_H
|
||||
|
||||
Reference in New Issue
Block a user