mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-10 03:59:05 +01:00
Core/Movement: Fix a potential crash on newly created pets. Closes #21791.
This commit is contained in:
@@ -1830,7 +1830,7 @@ class spell_pal_righteous_defense : public SpellScript
|
||||
return SPELL_CAST_OK;
|
||||
}
|
||||
|
||||
void HandleDummy(SpellEffIndex effIndex)
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (Unit* target = GetHitUnit())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user