mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Fix some GCC warnings
This commit is contained in:
@@ -4369,7 +4369,8 @@ void Spell::update(uint32 difftime)
|
||||
m_caster->SendMessageToSet(empowerSetStage.Write(), true);
|
||||
|
||||
m_empower->CompletedStages = completedStages;
|
||||
m_caster->ToUnit()->SetSpellEmpowerStage(completedStages);
|
||||
if (Unit* unitCaster = m_caster->ToUnit())
|
||||
unitCaster->SetSpellEmpowerStage(completedStages);
|
||||
|
||||
CallScriptEmpowerStageCompletedHandlers(completedStages);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user