mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 16:10:14 +00:00
Fix transport/WMO diagnostics and terrain WMO dedup lifecycle
This commit is contained in:
parent
514b914068
commit
ff8ffc3bfb
5 changed files with 59 additions and 26 deletions
|
|
@ -10,10 +10,11 @@ void EntityManager::addEntity(uint64_t guid, std::shared_ptr<Entity> entity) {
|
|||
return;
|
||||
}
|
||||
|
||||
const int type = static_cast<int>(entity->getType());
|
||||
entities[guid] = std::move(entity);
|
||||
|
||||
LOG_DEBUG("Added entity: GUID=0x", std::hex, guid, std::dec,
|
||||
", Type=", static_cast<int>(entity->getType()));
|
||||
", Type=", type);
|
||||
}
|
||||
|
||||
void EntityManager::removeEntity(uint64_t guid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue