Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
(And clean up tabs and whitespace while rummaging around in there) Closes issue 5084. --HG-- branch : trunk
This commit is contained in:
@@ -151,7 +151,7 @@ class boss_archaedas : public CreatureScript
|
||||
return;
|
||||
|
||||
// wake a wall minion
|
||||
if (uiWallMinionTimer <= uiDiff)
|
||||
if (uiWallMinionTimer <= uiDiff)
|
||||
{
|
||||
pInstance->SetData (DATA_MINIONS, IN_PROGRESS);
|
||||
|
||||
@@ -159,7 +159,7 @@ class boss_archaedas : public CreatureScript
|
||||
} else uiWallMinionTimer -= uiDiff;
|
||||
|
||||
//If we are <66 summon the guardians
|
||||
if (!bGuardiansAwake && !HealthAbovePct(66))
|
||||
if (!bGuardiansAwake && !HealthAbovePct(66))
|
||||
{
|
||||
ActivateMinion(pInstance->GetData64(5),true); // EarthenGuardian1
|
||||
ActivateMinion(pInstance->GetData64(6),true); // EarthenGuardian2
|
||||
@@ -196,7 +196,7 @@ class boss_archaedas : public CreatureScript
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
|
||||
void JustDied (Unit * /*pKiller*/)
|
||||
void JustDied (Unit * /*pKiller*/)
|
||||
{
|
||||
if (pInstance)
|
||||
{
|
||||
|
||||
@@ -130,7 +130,7 @@ class instance_uldaman : public InstanceMapScript
|
||||
case GO_IRONAYA_SEAL_DOOR:
|
||||
uiIronayaSealDoor = go->GetGUID();
|
||||
|
||||
if (m_auiEncounter[2] == DONE)
|
||||
if (m_auiEncounter[2] == DONE)
|
||||
HandleGameObject(NULL, true, go);
|
||||
break;
|
||||
|
||||
@@ -353,7 +353,7 @@ class instance_uldaman : public InstanceMapScript
|
||||
switch(data)
|
||||
{
|
||||
case NOT_STARTED:
|
||||
if (m_auiEncounter[0] == DONE) //if players opened the doors
|
||||
if (m_auiEncounter[0] == DONE) //if players opened the doors
|
||||
SetDoor(uiArchaedasTempleDoor, true);
|
||||
|
||||
RespawnMinions();
|
||||
|
||||
Reference in New Issue
Block a user