Core: Remove a few warnings (unused variables), clean up tabs whitespaces
This commit is contained in:
@@ -75,13 +75,13 @@ class boss_rajaxx : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_THUNDERCRASH, 12000);
|
||||
}
|
||||
|
||||
void JustDied(Unit* killer)
|
||||
void JustDied(Unit* /*killer*/)
|
||||
{
|
||||
//SAY_DEATH
|
||||
_JustDied();
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* victim)
|
||||
void EnterCombat(Unit* /*victim*/)
|
||||
{
|
||||
_EnterCombat();
|
||||
}
|
||||
|
||||
@@ -872,7 +872,7 @@ class spell_pool_of_tar : public CreatureScript
|
||||
me->CastSpell(me, SPELL_BLAZE, true);
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 const diff) {}
|
||||
void UpdateAI(uint32 const /*diff*/) {}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
|
||||
@@ -449,7 +449,7 @@ class spell_ignis_slag_pot : public SpellScriptLoader
|
||||
aurEffCaster->CastSpell(target, SPELL_SLAG_POT_DAMAGE, true);
|
||||
}
|
||||
|
||||
void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (GetTarget()->isAlive())
|
||||
GetTarget()->CastSpell(GetTarget(), SPELL_SLAG_IMBUED, true);
|
||||
|
||||
@@ -686,7 +686,7 @@ class mob_boombot : public CreatureScript
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 const diff)
|
||||
void UpdateAI(uint32 const /*diff*/)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
@@ -1057,7 +1057,7 @@ class achievement_nerf_gravity_bombs : public AchievementCriteriaScript
|
||||
public:
|
||||
achievement_nerf_gravity_bombs() : AchievementCriteriaScript("achievement_nerf_gravity_bombs") { }
|
||||
|
||||
bool OnCheck(Player* source, Unit* target)
|
||||
bool OnCheck(Player* /*source*/, Unit* target)
|
||||
{
|
||||
if (!target || !target->GetAI())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user