mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Fixed warning
This commit is contained in:
@@ -402,7 +402,7 @@ bool LootItem::AllowedForPlayer(Player const* player) const
|
||||
return false;
|
||||
|
||||
// Don't show bind-when-picked-up unique items if player already has the maximum allowed quantity.
|
||||
if (pProto->GetBonding() == BIND_ON_ACQUIRE && pProto->GetMaxCount() && int32(player->GetItemCount(itemid, true)) >= pProto->GetMaxCount())
|
||||
if (pProto->GetBonding() == BIND_ON_ACQUIRE && pProto->GetMaxCount() && player->GetItemCount(itemid, true) >= pProto->GetMaxCount())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
@@ -5219,7 +5219,7 @@ void Spell::EffectDiscoverTaxi(SpellEffIndex /*effIndex*/)
|
||||
unitTarget->ToPlayer()->GetSession()->SendDiscoverNewTaxiNode(nodeid);
|
||||
}
|
||||
|
||||
void Spell::EffectTitanGrip(SpellEffIndex effIndex)
|
||||
void Spell::EffectTitanGrip(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user