*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -143,9 +143,9 @@ struct TRINITY_DLL_DECL boss_nightbaneAI : public ScriptedAI
|
|||||||
void HandleTerraceDoors(bool open)
|
void HandleTerraceDoors(bool open)
|
||||||
{
|
{
|
||||||
if(GameObject *Door = GameObject::GetGameObject((*m_creature),pInstance->GetData64(DATA_MASTERS_TERRACE_DOOR_1)))
|
if(GameObject *Door = GameObject::GetGameObject((*m_creature),pInstance->GetData64(DATA_MASTERS_TERRACE_DOOR_1)))
|
||||||
Door->SetUInt32Value(GAMEOBJECT_STATE, open ? 0 : 1);
|
Door->SetGoState(open ? 0 : 1);
|
||||||
if(GameObject *Door = GameObject::GetGameObject((*m_creature),pInstance->GetData64(DATA_MASTERS_TERRACE_DOOR_2)))
|
if(GameObject *Door = GameObject::GetGameObject((*m_creature),pInstance->GetData64(DATA_MASTERS_TERRACE_DOOR_2)))
|
||||||
Door->SetUInt32Value(GAMEOBJECT_STATE, open ? 0 : 1);
|
Door->SetGoState(open ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aggro(Unit *who)
|
void Aggro(Unit *who)
|
||||||
|
|||||||
Reference in New Issue
Block a user