mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
Apply style fix pt4
This commit is contained in:
parent
d93dbd95fe
commit
4727d8846f
87 changed files with 710 additions and 0 deletions
|
|
@ -630,7 +630,9 @@ void GameEventMgr::Initialize(MapPersistentState* state)
|
|||
// other data is global and will be auto-apply
|
||||
for (GameEventMgr::ActiveEvents::const_iterator event_itr = m_ActiveEvents.begin(); event_itr != m_ActiveEvents.end(); ++event_itr)
|
||||
for (IdList::iterator pool_itr = mGameEventSpawnPoolIds[*event_itr].begin(); pool_itr != mGameEventSpawnPoolIds[*event_itr].end(); ++pool_itr)
|
||||
{
|
||||
sPoolMgr.InitSpawnPool(*state, *pool_itr);
|
||||
}
|
||||
}
|
||||
|
||||
// return the next event delay in ms
|
||||
|
|
@ -796,7 +798,9 @@ void GameEventMgr::GameEventSpawn(int16 event_id)
|
|||
}
|
||||
|
||||
for (IdList::iterator itr = mGameEventSpawnPoolIds[event_id].begin(); itr != mGameEventSpawnPoolIds[event_id].end(); ++itr)
|
||||
{
|
||||
sPoolMgr.SpawnPoolInMaps(*itr, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue