Compile warnings fixes
This commit is contained in:
@@ -272,7 +272,7 @@ class BossAI : public ScriptedAI
|
|||||||
// to override UpdateAI
|
// to override UpdateAI
|
||||||
// note: You must re-schedule the event within this method if the event
|
// note: You must re-schedule the event within this method if the event
|
||||||
// is supposed to run more than once
|
// is supposed to run more than once
|
||||||
virtual void ExecuteEvent(uint32 const eventId) { }
|
virtual void ExecuteEvent(uint32 const /*eventId*/) { }
|
||||||
|
|
||||||
void Reset() { _Reset(); }
|
void Reset() { _Reset(); }
|
||||||
void EnterCombat(Unit* /*who*/) { _EnterCombat(); }
|
void EnterCombat(Unit* /*who*/) { _EnterCombat(); }
|
||||||
|
|||||||
@@ -1858,7 +1858,7 @@ void Aura::CallScriptEffectCalcSpellModHandlers(AuraEffect const * aurEff, Spell
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aura::CallScriptEffectAbsorbHandlers(AuraEffect * aurEff, AuraApplication const * aurApp, DamageInfo & dmgInfo, uint32 & absorbAmount, bool & defaultPrevented)
|
void Aura::CallScriptEffectAbsorbHandlers(AuraEffect * aurEff, AuraApplication const * aurApp, DamageInfo & dmgInfo, uint32 & absorbAmount, bool & /*defaultPrevented*/)
|
||||||
{
|
{
|
||||||
for(std::list<AuraScript *>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end() ; ++scritr)
|
for(std::list<AuraScript *>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end() ; ++scritr)
|
||||||
{
|
{
|
||||||
@@ -1888,7 +1888,7 @@ void Aura::CallScriptEffectAfterAbsorbHandlers(AuraEffect * aurEff, AuraApplicat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aura::CallScriptEffectManaShieldHandlers(AuraEffect * aurEff, AuraApplication const * aurApp, DamageInfo & dmgInfo, uint32 & absorbAmount, bool & defaultPrevented)
|
void Aura::CallScriptEffectManaShieldHandlers(AuraEffect * aurEff, AuraApplication const * aurApp, DamageInfo & dmgInfo, uint32 & absorbAmount, bool & /*defaultPrevented*/)
|
||||||
{
|
{
|
||||||
for(std::list<AuraScript *>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end() ; ++scritr)
|
for(std::list<AuraScript *>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end() ; ++scritr)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetData(uint32 type, uint32 data)
|
void SetData(uint32 type, uint32 /*data*/)
|
||||||
{
|
{
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ struct ManaVoidSelector : public std::unary_function<Unit*, bool>
|
|||||||
class DelayedCastEvent : public BasicEvent
|
class DelayedCastEvent : public BasicEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DelayedCastEvent(Creature* trigger, uint32 spellId, uint64 originalCaster, uint32 despawnTime) : _trigger(trigger), _spellId(spellId), _originalCaster(originalCaster), _despawnTime(despawnTime)
|
DelayedCastEvent(Creature* trigger, uint32 spellId, uint64 originalCaster, uint32 despawnTime) : _trigger(trigger), _originalCaster(originalCaster), _spellId(spellId), _despawnTime(despawnTime)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -879,12 +879,12 @@ class npc_blistering_zombie : public CreatureScript
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustDied(Unit* killer)
|
void JustDied(Unit* /*killer*/)
|
||||||
{
|
{
|
||||||
DoCast(me, SPELL_ACID_BURST, true);
|
DoCast(me, SPELL_ACID_BURST, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateAI(uint32 const diff)
|
void UpdateAI(uint32 const /*diff*/)
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
return;
|
return;
|
||||||
@@ -1173,7 +1173,7 @@ class spell_dreamwalker_summon_suppresser : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript);
|
PrepareAuraScript(spell_dreamwalker_summon_suppresser_AuraScript);
|
||||||
|
|
||||||
void PeriodicTick(AuraEffect const* aurEff)
|
void PeriodicTick(AuraEffect const* /*aurEff*/)
|
||||||
{
|
{
|
||||||
PreventDefaultAction();
|
PreventDefaultAction();
|
||||||
Unit* caster = GetCaster();
|
Unit* caster = GetCaster();
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ public:
|
|||||||
void Reset()
|
void Reset()
|
||||||
{
|
{
|
||||||
uint64 summonerGUID = 0;
|
uint64 summonerGUID = 0;
|
||||||
Player* player = NULL;
|
|
||||||
if (me->isSummon())
|
if (me->isSummon())
|
||||||
if (Unit* summoner = me->ToTempSummon()->GetSummoner())
|
if (Unit* summoner = me->ToTempSummon()->GetSummoner())
|
||||||
if (summoner->GetTypeId() == TYPEID_PLAYER)
|
if (summoner->GetTypeId() == TYPEID_PLAYER)
|
||||||
|
|||||||
Reference in New Issue
Block a user