[Cleanup] Set GetAugmentType() to int again (#3335)

# Notes
- Augment type can be `-1` for all augment types.
This commit is contained in:
Alex King
2023-05-07 21:40:45 -04:00
committed by GitHub
parent ce1de9997b
commit 5ba33b88bd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ namespace EQ
bool AvailableWearSlot(uint32 aug_wear_slots) const;
int8 AvailableAugmentSlot(int32 augment_type) const;
bool IsAugmentSlotAvailable(int32 augment_type, uint8 slot) const;
inline uint32 GetAugmentType() const { return m_item ? m_item->AugType : 0; }
inline int GetAugmentType() const { return m_item ? m_item->AugType : 0; }
inline uint32 GetAugmentRestriction() const { return m_item ? m_item->AugRestrict : 0; }
inline bool IsExpendable() const { return ((m_item) ? ((m_item->Click.Type == item::ItemEffectExpendable) || (m_item->ItemType == item::ItemTypePotion)) : false); }