aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-21 21:09:15 +0200
committerShauren <shauren.trinity@gmail.com>2025-09-28 23:29:04 +0200
commit7eab6a791ae1c039de67a80ff8bd125bf69f7ba4 (patch)
tree33fdc30d2a282d93ff0fbd1612228c394adfa6a0 /src/server/scripts/Spells
parent75f036976410811d3c2629ddcddd279beb2dafb8 (diff)
Core/Entities: Final batch of removing implicit conversions of ObjectGuid to uint64
(cherry picked from commit 68f45e87345ff85341f835f0372f2a62b89f24d9)
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
index db48a98343e..e4dcf5ec4d5 100644
--- a/src/server/scripts/Spells/spell_hunter.cpp
+++ b/src/server/scripts/Spells/spell_hunter.cpp
@@ -692,7 +692,7 @@ class spell_hun_masters_call : public SpellScript
// Do a mini Spell::CheckCasterAuras on the pet, no other way of doing this
SpellCastResult result = SPELL_CAST_OK;
uint32 const unitflag = pet->GetUnitFlags();
- if (pet->GetCharmerGUID())
+ if (!pet->GetCharmerGUID().IsEmpty())
result = SPELL_FAILED_CHARMED;
else if (unitflag & UNIT_FLAG_STUNNED)
result = SPELL_FAILED_STUNNED;