Core/GameObject: Fixed build on Linux
This commit is contained in:
@@ -147,7 +147,7 @@ void GameObject::RemoveFromWorld()
|
|||||||
if (Unit* owner = GetOwner())
|
if (Unit* owner = GetOwner())
|
||||||
owner->RemoveGameObject(this, false);
|
owner->RemoveGameObject(this, false);
|
||||||
else
|
else
|
||||||
sLog->outError("Delete GameObject (GUID: %u Entry: %u, Name: %s) that have references in not found creature %u GO list. Crash possible later.", GetGUIDLow(), GetGOInfo()->entry, GetGOInfo()->name, GUID_LOPART(owner_guid));
|
sLog->outError("Delete GameObject (GUID: %u Entry: %u, Name: %s) that have references in not found creature %u GO list. Crash possible later.", GetGUIDLow(), GetGOInfo()->entry, GetGOInfo()->name.c_str(), GUID_LOPART(owner_guid));
|
||||||
}
|
}
|
||||||
WorldObject::RemoveFromWorld();
|
WorldObject::RemoveFromWorld();
|
||||||
sObjectAccessor->RemoveObject(this);
|
sObjectAccessor->RemoveObject(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user