Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
This commit is contained in:
@@ -947,10 +947,10 @@ class spell_hun_tame_beast : public SpellScriptLoader
|
||||
if (!target->GetCreatureTemplate()->IsTameable(caster->ToPlayer()->CanTameExoticPets()))
|
||||
return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
if (caster->GetPetGUID())
|
||||
if (!caster->GetPetGUID().IsEmpty())
|
||||
return SPELL_FAILED_ALREADY_HAVE_SUMMON;
|
||||
|
||||
if (caster->GetCharmGUID())
|
||||
if (!caster->GetCharmGUID().IsEmpty())
|
||||
return SPELL_FAILED_ALREADY_HAVE_CHARM;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user