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
@@ -634,7 +634,7 @@ void GameObject::Update(uint32 diff)
//! If this is summoned by a spell with ie. SPELL_EFFECT_SUMMON_OBJECT_WILD, with or without owner, we check respawn criteria based on spell
//! The GetOwnerGUID() check is mostly for compatibility with hacky scripts - 99% of the time summoning should be done trough spells.
if (GetSpellId() || GetOwnerGUID())
if (GetSpellId() || !GetOwnerGUID().IsEmpty())
{
SetRespawnTime(0);
Delete();