diff options
author | xjose93 <xjose93@hotmail.com> | 2013-05-24 22:27:34 +0200 |
---|---|---|
committer | xjose93 <xjose93@hotmail.com> | 2013-05-24 22:27:34 +0200 |
commit | 5a7cebe114af2643576e2e307c1d15162be816f6 (patch) | |
tree | 3dce70db1a30c224b64bacad3f246264d211d64e | |
parent | b688fc0ed56f4787516df89c6c62f90c47ee1a5a (diff) |
Scripts/Gundrak: Fix Gal'darah door.
-rw-r--r-- | src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp b/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp index a9bbffa5fb0..cf2a39736e5 100644 --- a/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp +++ b/src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp @@ -72,6 +72,7 @@ public: uint64 uiEckTheFerociousDoorBehind; uint64 uiGalDarahDoor1; uint64 uiGalDarahDoor2; + uint64 uiGaldarahDoor; uint64 uiBridge; uint64 uiCollision; @@ -115,6 +116,7 @@ public: uiEckTheFerociousDoorBehind = 0; uiGalDarahDoor1 = 0; uiGalDarahDoor2 = 0; + uiGaldarahDoor = 0; uiBridge = 0; uiCollision = 0; @@ -252,6 +254,11 @@ public: if (uiCollisionState == GO_STATE_ACTIVE_ALTERNATIVE) spawnSupport = true; break; + case 192568: + uiGaldarahDoor = go->GetGUID(); + if (m_auiEncounter[3] != IN_PROGRESS) + HandleGameObject(uiGaldarahDoor, true, go); + break; } } @@ -295,6 +302,7 @@ public: HandleGameObject(uiGalDarahDoor1, true); HandleGameObject(uiGalDarahDoor2, true); } + HandleGameObject(uiGaldarahDoor, data == IN_PROGRESS ? false : true); break; case DATA_ECK_THE_FEROCIOUS_EVENT: m_auiEncounter[4] = data; |