diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-04-01 22:43:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-04-01 22:43:18 +0200 |
commit | 974703671ed5f08ec0c1a5b3943fc68508f2f4d6 (patch) | |
tree | 7304073e65950878321e0c0e838f300c233f74d8 /src | |
parent | 6cd7b5806521787189a7853d3cfac3741b196548 (diff) |
Core/Items: Fixed enchant visuals
Closes #16776
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/Player/Player.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 5c9212252c5..0a408f9862c 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -13117,9 +13117,6 @@ void Player::ApplyEnchantment(Item* item, EnchantmentSlot slot, bool apply, bool // visualize enchantment at player and equipped items if (slot == PERM_ENCHANTMENT_SLOT) - SetUInt16Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENCHANTMENT_OFFSET + (item->GetSlot() * 2), 0, apply ? item->GetEnchantmentId(slot) : 0); - - if (slot == TEMP_ENCHANTMENT_SLOT) SetUInt16Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENCHANTMENT_OFFSET + (item->GetSlot() * 2), 1, apply ? item->GetEnchantmentId(slot) : 0); if (apply_dur) |