Core/GameObject: Fixed build on Linux

This commit is contained in:
Lopin
2011-08-19 21:09:12 +02:00
parent fb2fe345bf
commit f94bd733e3
@@ -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);