mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9260] Rewrite pool system work with dynamic data.
Concentrate all dynamic data in single structure for future move it to Map for support pre-Map pool data store. * This let use pool system in future in instances * Remove main stoper to move creature/guids to per-map store tht open lot simplifcation and problem autoresolves * This is also fix some porblems in pool-pool case work.
This commit is contained in:
parent
72a52af93e
commit
7239d4aee7
4 changed files with 152 additions and 108 deletions
|
|
@ -473,7 +473,7 @@ bool ChatHandler::HandleGameObjectTargetCommand(const char* args)
|
|||
o = fields[5].GetFloat();
|
||||
mapid = fields[6].GetUInt16();
|
||||
pool_id = sPoolMgr.IsPartOfAPool<GameObject>(lowguid);
|
||||
if (!pool_id || (pool_id && sPoolMgr.IsSpawnedObject<GameObject>(pool_id, lowguid)))
|
||||
if (!pool_id || sPoolMgr.IsSpawnedObject<GameObject>(lowguid))
|
||||
found = true;
|
||||
} while( result->NextRow() && (!found) );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue