Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance

Also fixes broken build
This commit is contained in:
Shauren committed 2011-01-24 11:38:59 +01:00
1 parent e7dbc783cf
commit 820f87f365
8 files changed
+66 -1

No files matched your search

@@ -395,6 +395,16 @@ class instance_icecrown_citadel : public InstanceMapScript
return true;
}
uint32 GetCompletedEncounterMask() const
{
uint32 mask = 0;
for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
if (GetBossState(i) == DONE)
mask |= 1 << i;
return mask;
}
void SetData(uint32 type, uint32 data)
{
switch (type)