Hello,
Since the last update that changed the GUID operation. I can no longer delete a gameobject the world with his guid.
Before this update I used this:
…
if (GameObjectData const* data = sObjectMgr->GetGOData(guidCoffres))
{
sObjectMgr->RemoveGameobjectFromGrid(guidCoffres, data);
if (GameObject* pGameobject = [COLOR=rgb(255,165,0)]ObjectAccessor::GetObjectInWorld(ObjectGuid(HIGHGUID_GAMEOBJECT, data->id, guidCoffres), (GameObject*)NULL))
pGameobject->AddObjectToRemoveList();
…
GetObjectInWorld today no longer exists.
my version of core is : TrinityCore rev. 96185ea12da7+ 2015-10-04 21:03:08 +0200 (3.3.5 branch) (Win32, Debug)
someone can help me?
Thank you