TrinityCore/TrinityCore — comment on commit 86f7f546ec6daf8126bcfceb79b5b78f22d9380b
File:  line 0
By kandera:

```

return 0;
}

- creature->m_isWorldObject = true; //so it will not be unloaded with grid
map->AddToMap(creature);
+ creature->SetWorldObject(true); //so it will not be unloaded with grid
m_NPCPassengerSet.insert(creature);

if (tguid == 0)
{
```

this on the other hand works correctly