Skip to content

Commit

Permalink
Scripts/Karazhan: Use the correct method to access Opera's side entra…
Browse files Browse the repository at this point in the history
…nce door

(cherry picked from commit ecd9dec)
  • Loading branch information
Nyeriah authored and Shauren committed Apr 8, 2016
1 parent 39c6f1c commit bedd2f4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -154,8 +154,8 @@ class instance_karazhan : public InstanceMapScript
{
HandleGameObject(StageDoorLeftGUID, true);
HandleGameObject(StageDoorRightGUID, true);
if (GameObject* pSideEntrance = GetGameObject(SideEntranceDoor))
pSideEntrance->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_LOCKED);
if (GameObject* sideEntrance = instance->GetGameObject(SideEntranceDoor))
sideEntrance->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_LOCKED);
UpdateEncounterState(ENCOUNTER_CREDIT_KILL_CREATURE, 16812, NULL);
}
break;
Expand Down

0 comments on commit bedd2f4

Please sign in to comment.