*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-04 10:02:31 -06:00
parent 3797d15426
commit 820e0214fa

View File

@@ -143,9 +143,9 @@ struct TRINITY_DLL_DECL boss_nightbaneAI : public ScriptedAI
void HandleTerraceDoors(bool open)
{
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)))
Door->SetUInt32Value(GAMEOBJECT_STATE, open ? 0 : 1);
Door->SetGoState(open ? 0 : 1);
}
void Aggro(Unit *who)