diff options
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index b657cce7622..aee7cd14991 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -278,7 +278,8 @@ struct Runes struct EnchantDuration { EnchantDuration() : item(NULL), slot(MAX_ENCHANTMENT_SLOT), leftduration(0) {}; - EnchantDuration(Item * _item, EnchantmentSlot _slot, uint32 _leftduration) : item(_item), slot(_slot), leftduration(_leftduration) { assert(item); }; + EnchantDuration(Item * _item, EnchantmentSlot _slot, uint32 _leftduration) : item(_item), slot(_slot), + leftduration(_leftduration){ assert(item); }; Item * item; EnchantmentSlot slot; @@ -1068,7 +1069,7 @@ class TRINITY_DLL_SPEC Player : public Unit void UpdateItemDuration(uint32 time, bool realtimeonly=false); void AddEnchantmentDurations(Item *item); void RemoveEnchantmentDurations(Item *item); - void RemoveAllEnchantments(EnchantmentSlot slot); + void RemoveArenaEnchantments(EnchantmentSlot slot); void AddEnchantmentDuration(Item *item,EnchantmentSlot slot,uint32 duration); void ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool apply_dur = true, bool ignore_condition = false); void ApplyEnchantment(Item *item,bool apply); |