aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-07-27 19:37:57 +0200
committerShauren <shauren.trinity@gmail.com>2023-07-27 19:37:57 +0200
commit46b67ec20555d86340407926ad69979475b8668e (patch)
treed80682561fe694444de0f09c65e98e5b40527f30 /src/server/scripts/Spells
parentf94e341a0314bc956726e11dfb435e09b7ee696f (diff)
Core/Scripts: Fixed unsafe function pointer type casting in spell scripts
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_shaman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp
index 1bd95e858ae..d179e94d0b0 100644
--- a/src/server/scripts/Spells/spell_shaman.cpp
+++ b/src/server/scripts/Spells/spell_shaman.cpp
@@ -212,7 +212,7 @@ class spell_sha_ancestral_guidance_heal : public SpellScript
return ValidateSpellInfo({ SPELL_SHAMAN_ANCESTRAL_GUIDANCE });
}
- void ResizeTargets(std::list<WorldObject*>& targets)
+ static void ResizeTargets(std::list<WorldObject*>& targets)
{
Trinity::SelectRandomInjuredTargets(targets, 3, true);
}