mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9146] More poolmgr cleanps.
* Replace mixed values used type args by function template specializations * More explcilty show fact that poolmgr work only with db guids.
This commit is contained in:
parent
edfec630e8
commit
4d90a2e1f2
7 changed files with 134 additions and 85 deletions
|
|
@ -580,11 +580,7 @@ void GameEventMgr::GameEventSpawn(int16 event_id)
|
|||
}
|
||||
|
||||
for (IdList::iterator itr = mGameEventPoolIds[internal_event_id].begin();itr != mGameEventPoolIds[internal_event_id].end();++itr)
|
||||
{
|
||||
sPoolMgr.SpawnPool(*itr, 0, 0);
|
||||
sPoolMgr.SpawnPool(*itr, 0, TYPEID_GAMEOBJECT);
|
||||
sPoolMgr.SpawnPool(*itr, 0, TYPEID_UNIT);
|
||||
}
|
||||
sPoolMgr.SpawnPool(*itr);
|
||||
}
|
||||
|
||||
void GameEventMgr::GameEventUnspawn(int16 event_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue