[8667] Correctly respawn pooled object in case the same object is selected for respawn
[8701] Fixes and inprovements in pool system. thx Frankir --HG-- branch : trunk
This commit is contained in:
1 parent
6da2105aa9
commit
304f59f2bb
4 files changed
+121
-98
No files matched your search
@@ -1279,7 +1279,9 @@ void GameEventMgr::GameEventSpawn(int16 event_id)
|
||||
|
||||
for (IdList::iterator itr = mGameEventPoolIds[internal_event_id].begin(); itr != mGameEventPoolIds[internal_event_id].end(); ++itr)
|
||||
{
|
||||
poolhandler.SpawnPool(*itr);
|
||||
poolhandler.SpawnPool(*itr, 0, 0);
|
||||
poolhandler.SpawnPool(*itr, 0, TYPEID_GAMEOBJECT);
|
||||
poolhandler.SpawnPool(*itr, 0, TYPEID_UNIT);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user