Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user