aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGacko <gacko28@gmx.de>2013-05-26 21:53:11 +0200
committerGacko <gacko28@gmx.de>2013-05-26 21:53:11 +0200
commitcdf0bf4f44d92b44b62f10354ee1dbdc21a0f8b8 (patch)
treeb5116ce11bd3e181c4f787538c8547c6088cc210 /src
parent7bc30a98e409487eab25448136375e61d704ba63 (diff)
parent5a7cebe114af2643576e2e307c1d15162be816f6 (diff)
Merge pull request #9858 from xjose93/Gundrak-DoorGaldarah
Scripts/Gundrak: Fix Gal'darah door.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/Gundrak/instance_gundrak.cpp8
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;