mirror of
https://github.com/azerothcore/mod-progression-system
synced 2026-08-21 06:23:04 -04:00
chore: remove unused variables to silence compiler warnings (#483)
Some checks failed
core-build / build (push) Has been cancelled
Some checks failed
core-build / build (push) Has been cancelled
This commit is contained in:
parent
47ff0b5cfa
commit
84a25e6df8
2 changed files with 3 additions and 3 deletions
|
|
@ -501,7 +501,7 @@ public:
|
|||
instance->DoAction(ACTION_CHECK_RUNES);
|
||||
}
|
||||
|
||||
if (uint32 cooldown = player->GetSpellCooldownDelay(SPELL_AQUAL_QUINTESSENCE))
|
||||
if (player->GetSpellCooldownDelay(SPELL_AQUAL_QUINTESSENCE))
|
||||
{
|
||||
int32 cooldownredux = sConfigMgr->GetOption<int>("ProgressionSystem.60.MoltenCore.AqualEssenceCooldownReduction", 0);
|
||||
player->ModifySpellCooldown(SPELL_AQUAL_QUINTESSENCE, -(cooldownredux * MINUTE * IN_MILLISECONDS));
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ public:
|
|||
|
||||
_scheduler.Schedule(5s, [this](TaskContext task)
|
||||
{
|
||||
if (Creature* shill = me->FindNearestCreature(NPC_SHILL_DINGER, 50.0f))
|
||||
if (me->FindNearestCreature(NPC_SHILL_DINGER, 50.0f))
|
||||
{
|
||||
task.Repeat();
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ public:
|
|||
|
||||
_scheduler.Schedule(5s, [this](TaskContext task)
|
||||
{
|
||||
if (Creature* prisioner = me->FindNearestCreature(NPC_CREST_KILLER, 50.0f))
|
||||
if (me->FindNearestCreature(NPC_CREST_KILLER, 50.0f))
|
||||
{
|
||||
task.Repeat();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue