Skip to content

Commit

Permalink
ZG: Fix door to boss arlokk
Browse files Browse the repository at this point in the history
Closes #637
  • Loading branch information
XandrKhv authored and killerwife committed Dec 28, 2023
1 parent 0f628c0 commit 1591e56
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ void instance_zulgurub::SetData(uint32 type, uint32 data)
break;
case TYPE_ARLOKK:
m_auiEncounter[type] = data;
if (data == IN_PROGRESS)
DoUseDoorOrButton(GO_FORCEFIELD);
else if (GameObject* pForcefield = GetSingleGameObjectFromStorage(GO_FORCEFIELD))
pForcefield->ResetDoorOrButton();
if (data == DONE || data == FAIL)
DoUseOpenableObject(GO_FORCEFIELD, true);
else if (data == IN_PROGRESS)
DoUseOpenableObject(GO_FORCEFIELD, false);

if (data == DONE)
RemoveHakkarPowerStack();
if (data == FAIL)
Expand Down

0 comments on commit 1591e56

Please sign in to comment.