mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Compiler warning fix.
This commit is contained in:
@@ -802,7 +802,7 @@ class spell_valkyr_essences : public SpellScriptLoader
|
||||
else
|
||||
{
|
||||
owner->CastSpell(owner, poweringUp, true);
|
||||
if (pAura = owner->GetAura(poweringUp))
|
||||
if ((pAura = owner->GetAura(poweringUp)))
|
||||
pAura->ModStackAmount(stacksCount);
|
||||
}
|
||||
}
|
||||
@@ -827,7 +827,7 @@ class spell_valkyr_essences : public SpellScriptLoader
|
||||
else
|
||||
{
|
||||
owner->CastSpell(owner, poweringUp, true);
|
||||
if (pAura = owner->GetAura(poweringUp))
|
||||
if ((pAura = owner->GetAura(poweringUp)))
|
||||
pAura->ModStackAmount(stacksCount);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user