diff options
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r-- | src/game/SpellAuras.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 676c551d274..1828a3ec37f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -117,7 +117,7 @@ void AuraApplication::_Remove() } } -bool AuraApplication::_CheckPositive(Unit * caster) const +bool AuraApplication::_CheckPositive(Unit * /*caster*/) const { // Aura is positive when it is casted by friend and at least one aura is positive // or when it is casted by enemy and at least one aura is negative @@ -527,7 +527,7 @@ void Aura::UpdateTargetMap(Unit * caster, bool apply) // targets have to be registered and not have effect applied yet to use this function void Aura::_ApplyEffectForTargets(uint8 effIndex) { - Unit * caster = GetCaster(); + //Unit * caster = GetCaster(); // prepare list of aura targets UnitList targetList; for (ApplicationMap::iterator appIter = m_applications.begin(); appIter != m_applications.end(); ++appIter) @@ -711,7 +711,7 @@ bool Aura::DropCharge() return false; } -void Aura::SetStackAmount(uint8 stackAmount, bool applied) +void Aura::SetStackAmount(uint8 stackAmount, bool /*applied*/) { if (stackAmount != m_stackAmount) { @@ -1618,7 +1618,7 @@ void DynObjAura::Remove(AuraRemoveMode removeMode) _Remove(removeMode); } -void DynObjAura::FillTargetMap(std::map<Unit *, uint8> & targets, Unit * caster) +void DynObjAura::FillTargetMap(std::map<Unit *, uint8> & targets, Unit * /*caster*/) { Unit * dynObjOwnerCaster = GetDynobjOwner()->GetCaster(); float radius = GetDynobjOwner()->GetRadius(); |