fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -800,7 +800,7 @@ bool Item::CanBeTraded(bool mail, bool trade) const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Item::HasEnchantRequiredSkill(const Player* player) const
|
||||
bool Item::HasEnchantRequiredSkill(Player const* player) const
|
||||
{
|
||||
// Check all enchants for required skill
|
||||
for (uint32 enchant_slot = PERM_ENCHANTMENT_SLOT; enchant_slot < MAX_ENCHANTMENT_SLOT; ++enchant_slot)
|
||||
|
||||
@@ -253,7 +253,7 @@ public:
|
||||
void SetInTrade(bool b = true) { mb_in_trade = b; }
|
||||
[[nodiscard]] bool IsInTrade() const { return mb_in_trade; }
|
||||
|
||||
bool HasEnchantRequiredSkill(const Player* player) const;
|
||||
bool HasEnchantRequiredSkill(Player const* player) const;
|
||||
[[nodiscard]] uint32 GetEnchantRequiredLevel() const;
|
||||
|
||||
bool IsFitToSpellRequirements(SpellInfo const* spellInfo) const;
|
||||
|
||||
Reference in New Issue
Block a user