Core/Logs: Added some useful informations to certain logs, part #1. Requested by Aokromes

This commit is contained in:
Lopin
2011-08-19 19:17:39 +02:00
parent d2f2c4dee5
commit 8166e338ad
4 changed files with 5 additions and 5 deletions
@@ -147,7 +147,7 @@ void GameObject::RemoveFromWorld()
if (Unit* owner = GetOwner())
owner->RemoveGameObject(this, false);
else
sLog->outError("Delete GameObject (GUID: %u Entry: %u) that have references in not found creature %u GO list. Crash possible later.", GetGUIDLow(), GetGOInfo()->entry, 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, GUID_LOPART(owner_guid));
}
WorldObject::RemoveFromWorld();
sObjectAccessor->RemoveObject(this);