Some typos again in Moroes.
--HG-- branch : trunk
This commit is contained in:
@@ -327,15 +327,15 @@ struct TRINITY_DLL_DECL boss_moroes_guestAI : public ScriptedAI
|
|||||||
if (!pInstance)
|
if (!pInstance)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GuestGUID[0] = pInstance->GetData64(DATA_MOROES);
|
uint64 MoroesGUID = pInstance->GetData64(DATA_MOROES);
|
||||||
Creature* Moroes = (Unit::GetCreature((*m_creature), GuestGUID[0]));
|
Creature* Moroes = (Unit::GetCreature((*m_creature), MoroesGUID));
|
||||||
if (Moroes)
|
if (Moroes)
|
||||||
{
|
{
|
||||||
for (uint8 i = 0; i < 3; ++i)
|
for (uint8 i = 0; i < 4; ++i)
|
||||||
{
|
{
|
||||||
uint64 GUID = CAST_AI(boss_moroesAI, Moroes->AI())->AddGUID[i];
|
uint64 GUID = CAST_AI(boss_moroesAI, Moroes->AI())->AddGUID[i];
|
||||||
if (GUID && GUID != m_creature->GetGUID())
|
if (GUID)
|
||||||
GuestGUID[i+1] = GUID;
|
GuestGUID[i] = GUID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user