Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64

This commit is contained in:
Shauren
2014-10-21 19:23:32 +02:00
parent 1bea52fd46
commit 9cc7044546
86 changed files with 235 additions and 229 deletions
+2 -2
View File
@@ -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